summaryrefslogtreecommitdiff
path: root/gcc/ipa.c
diff options
context:
space:
mode:
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-21 12:48:02 +0000
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-03-21 12:48:02 +0000
commit95d0bdb9b19503fcd85591b7bca82a0e32413c09 (patch)
treef528ebb34b14f3bafa2f9ee8e655de4e553c33b3 /gcc/ipa.c
parente7e444390f931238f09524973e93d4519ee231f1 (diff)
downloadgcc-95d0bdb9b19503fcd85591b7bca82a0e32413c09.tar.gz
2014-03-21 Martin Jambor <mjambor@suse.cz>
PR ipa/60419 * ipa.c (symtab_remove_unreachable_nodes): Clear thunk flag of nodes in the border. testsuite/ * g++.dg/ipa/pr60419.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208747 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa.c')
-rw-r--r--gcc/ipa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ipa.c b/gcc/ipa.c
index 572dba18268..164de0dc9df 100644
--- a/gcc/ipa.c
+++ b/gcc/ipa.c
@@ -488,6 +488,7 @@ symtab_remove_unreachable_nodes (bool before_inlining_p, FILE *file)
node->definition = false;
node->cpp_implicit_alias = false;
node->alias = false;
+ node->thunk.thunk_p = false;
node->weakref = false;
if (!node->in_other_partition)
node->local.local = false;