diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-21 12:59:35 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-21 12:59:35 +0000 |
commit | fa4052b343d0013312ab14f0b67ed171c88579fc (patch) | |
tree | 9a7d70708594301be7def95ae86b5e51f4577ef8 /gcc/cgraph.h | |
parent | 95d0bdb9b19503fcd85591b7bca82a0e32413c09 (diff) | |
download | gcc-fa4052b343d0013312ab14f0b67ed171c88579fc.tar.gz |
2014-03-21 Martin Jambor <mjambor@suse.cz>
PR ipa/59176
* cgraph.h (symtab_node): New flag body_removed.
* ipa.c (symtab_remove_unreachable_nodes): Set body_removed flag
when removing bodies.
* symtab.c (dump_symtab_base): Dump body_removed flag.
* cgraph.c (verify_edge_corresponds_to_fndecl): Skip nodes which
had their bodies removed.
testsuite/
* g++.dg/torture/pr59176.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208748 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 32b1ee17fa3..59d9ce66845 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -91,7 +91,9 @@ public: unsigned forced_by_abi : 1; /* True when the name is known to be unique and thus it does not need mangling. */ unsigned unique_name : 1; - + /* True when body and other characteristics have been removed by + symtab_remove_unreachable_nodes. */ + unsigned body_removed : 1; /*** WHOPR Partitioning flags. These flags are used at ltrans stage when only part of the callgraph is |