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
35bd8e8f
Commit
35bd8e8f
authored
Dec 10, 2015
by
Jan Hubicka
Committed by
Jan Hubicka
Dec 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lto-streamer-out.c (wrap_refs): Only wrap public decls.
From-SVN: r231541
parent
5af56ae8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+4
-0
gcc/lto-streamer-out.c
+2
-1
No files found.
gcc/ChangeLog
View file @
35bd8e8f
2015
-
12
-
10
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
*
lto
-
streamer
-
out
.
c
(
wrap_refs
):
Only
wrap
public
decls
.
2015
-
12
-
10
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
*
ipa
-
cp
.
c
(
ipcp_cloning_candidate_p
):
Use
node
->
optimize_for_size_p
.
(
good_cloning_opportunity_p
):
Likewise
.
(
gather_context_independent_values
):
Do
not
return
true
when
gcc/lto-streamer-out.c
View file @
35bd8e8f
...
...
@@ -2236,7 +2236,8 @@ wrap_refs (tree *tp, int *ws, void *)
{
tree
t
=
*
tp
;
if
(
handled_component_p
(
t
)
&&
TREE_CODE
(
TREE_OPERAND
(
t
,
0
))
==
VAR_DECL
)
&&
TREE_CODE
(
TREE_OPERAND
(
t
,
0
))
==
VAR_DECL
&&
TREE_PUBLIC
(
TREE_OPERAND
(
t
,
0
)))
{
tree
decl
=
TREE_OPERAND
(
t
,
0
);
tree
ptrtype
=
build_pointer_type
(
TREE_TYPE
(
decl
));
...
...
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