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
ee187353
Commit
ee187353
authored
Sep 07, 2010
by
Jan Hubicka
Committed by
Jan Hubicka
Sep 07, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lto.c (promote_var, promote_fn): Set DECL_VISIBILITY_SPECIFIED.
From-SVN: r163957
parent
9c4ce18d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
gcc/lto/ChangeLog
+4
-0
gcc/lto/lto.c
+3
-0
No files found.
gcc/lto/ChangeLog
View file @
ee187353
2010-09-07 Jan Hubicka <jh@suse.cz>
* lto.c (promote_var, promote_fn): Set DECL_VISIBILITY_SPECIFIED.
2010-09-03 Richard Guenther <rguenther@suse.de>
* lto-elf.c (validate_file): Always error if validation fails.
...
...
gcc/lto/lto.c
View file @
ee187353
...
...
@@ -914,6 +914,7 @@ promote_var (struct varpool_node *vnode)
gcc_assert
(
flag_wpa
);
TREE_PUBLIC
(
vnode
->
decl
)
=
1
;
DECL_VISIBILITY
(
vnode
->
decl
)
=
VISIBILITY_HIDDEN
;
DECL_VISIBILITY_SPECIFIED
(
vnode
->
decl
)
=
true
;
if
(
cgraph_dump_file
)
fprintf
(
cgraph_dump_file
,
"Promoting var as hidden: %s
\n
"
,
varpool_node_name
(
vnode
));
...
...
@@ -930,6 +931,7 @@ promote_fn (struct cgraph_node *node)
return
false
;
TREE_PUBLIC
(
node
->
decl
)
=
1
;
DECL_VISIBILITY
(
node
->
decl
)
=
VISIBILITY_HIDDEN
;
DECL_VISIBILITY_SPECIFIED
(
node
->
decl
)
=
true
;
if
(
node
->
same_body
)
{
struct
cgraph_node
*
alias
;
...
...
@@ -938,6 +940,7 @@ promote_fn (struct cgraph_node *node)
{
TREE_PUBLIC
(
alias
->
decl
)
=
1
;
DECL_VISIBILITY
(
alias
->
decl
)
=
VISIBILITY_HIDDEN
;
DECL_VISIBILITY_SPECIFIED
(
alias
->
decl
)
=
true
;
}
}
if
(
cgraph_dump_file
)
...
...
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