diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-10 11:36:29 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-10 11:36:29 +0000 |
commit | ae949f2f659fe32a755212756f8e0879242727a4 (patch) | |
tree | 2688547317992efb858cd32a074c6de325ec8d25 /gcc/cgraphclones.c | |
parent | d779c7b1f3580be290c8efdad295d86e5930d926 (diff) | |
download | gcc-ae949f2f659fe32a755212756f8e0879242727a4.tar.gz |
2014-09-10 Martin Jambor <mjambor@suse.cz>
* cgraphunit.c (expand_thunk): If not expanding, set analyzed flag.
(analyze): Do not set analyze flag if expand_thunk returns false;.
(create_wrapper): Likewise.
* cgraphclones.c (duplicate_thunk_for_node): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215123 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraphclones.c')
-rw-r--r-- | gcc/cgraphclones.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/cgraphclones.c b/gcc/cgraphclones.c index 2a17de5d552..224bb55eebb 100644 --- a/gcc/cgraphclones.c +++ b/gcc/cgraphclones.c @@ -371,9 +371,7 @@ duplicate_thunk_for_node (cgraph_node *thunk, cgraph_node *node) CGRAPH_FREQ_BASE); e->call_stmt_cannot_inline_p = true; symtab->call_edge_duplication_hooks (thunk->callees, e); - if (!new_thunk->expand_thunk (false, false)) - new_thunk->analyzed = true; - else + if (new_thunk->expand_thunk (false, false)) { new_thunk->thunk.thunk_p = false; new_thunk->analyze (); |