Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e1813e4b
Commit
e1813e4b
authored
Jul 16, 2017
by
Jan Hubicka
Committed by
Jan Hubicka
Jul 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ipa-visibility.c (function_and_variable_visibility): Fix pasto.
From-SVN: r250237
parent
66447ef0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/ipa-visibility.c
+1
-1
No files found.
gcc/ChangeLog
View file @
e1813e4b
2017
-
07
-
07
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
*
ipa
-
visibility
.
c
(
function_and_variable_visibility
):
Fix
pasto
.
2017
-
07
-
07
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
*
ipa
-
fnsummary
.
c
(
pass_data_ipa_fn_summary
):
Use
TV_IPA_FNSUMMARY
.
*
timevar
.
def
(
TV_IPA_FNSUMMARY
):
Define
.
...
...
gcc/ipa-visibility.c
View file @
e1813e4b
...
...
@@ -624,7 +624,7 @@ function_and_variable_visibility (bool whole_program)
/* Optimize away PURE and CONST constructors and destructors. */
if
(
node
->
analyzed
&&
(
DECL_STATIC_CONSTRUCTOR
(
node
->
decl
)
||
DECL_STATIC_
CON
STRUCTOR
(
node
->
decl
))
||
DECL_STATIC_
DE
STRUCTOR
(
node
->
decl
))
&&
(
flags
&
(
ECF_CONST
|
ECF_PURE
))
&&
!
(
flags
&
ECF_LOOPING_CONST_OR_PURE
)
&&
opt_for_fn
(
node
->
decl
,
optimize
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment