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
b7e85694
Commit
b7e85694
authored
Feb 08, 2014
by
Jan Hubicka
Committed by
Jan Hubicka
Feb 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lto.c (unify_scc): Free CONSTRUCTOR_ELTS.
From-SVN: r207619
parent
8c311b50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
gcc/lto/ChangeLog
+4
-0
gcc/lto/lto.c
+4
-0
No files found.
gcc/lto/ChangeLog
View file @
b7e85694
2014-02-06 Jan Hubicka <hubicka@ucw.cz>
2014-02-06 Jan Hubicka <hubicka@ucw.cz>
* lto.c (unify_scc): Free CONSTRUCTOR_ELTS.
2014-02-06 Jan Hubicka <hubicka@ucw.cz>
PR ipa/59469
PR ipa/59469
* lto-partition.c (symbol_class): Move to cgraph.h
* lto-partition.c (symbol_class): Move to cgraph.h
(get_symbol_class): Move to symtab.c
(get_symbol_class): Move to symtab.c
...
...
gcc/lto/lto.c
View file @
b7e85694
...
@@ -1807,8 +1807,12 @@ unify_scc (struct streamer_tree_cache_d *cache, unsigned from,
...
@@ -1807,8 +1807,12 @@ unify_scc (struct streamer_tree_cache_d *cache, unsigned from,
/* Free the tree nodes from the read SCC. */
/* Free the tree nodes from the read SCC. */
for
(
unsigned
i
=
0
;
i
<
len
;
++
i
)
for
(
unsigned
i
=
0
;
i
<
len
;
++
i
)
{
{
enum
tree_code
code
;
if
(
TYPE_P
(
scc
->
entries
[
i
]))
if
(
TYPE_P
(
scc
->
entries
[
i
]))
num_merged_types
++
;
num_merged_types
++
;
code
=
TREE_CODE
(
scc
->
entries
[
i
]);
if
(
CODE_CONTAINS_STRUCT
(
code
,
TS_CONSTRUCTOR
))
vec_free
(
CONSTRUCTOR_ELTS
(
scc
->
entries
[
i
]));
ggc_free
(
scc
->
entries
[
i
]);
ggc_free
(
scc
->
entries
[
i
]);
}
}
...
...
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