PR ipa/59626
commitf0d26d578d94a3fafc81d191d2168ab3517b3f0e
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Apr 2014 18:02:31 +0000 (4 18:02 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Apr 2014 18:02:31 +0000 (4 18:02 +0000)
treed5d626b8502a78d19963191e0451f75ee3853ad9
parent8a65c6637211061c5e99a076228daf6761b8df76
PR ipa/59626
* lto-cgraph.c (input_overwrite_node): Check that partitioning
flags are set only during streaming.
* ipa.c (process_references, walk_polymorphic_call_targets,
symtab_remove_unreachable_nodes): Drop bodies of always inline
after early inlining.
(symtab_remove_unreachable_nodes): Remove always_inline attribute.
* gcc.dg/lto/pr59626_0.c: New testcase.
* gcc.dg/lto/pr59626_1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209123 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa.c
gcc/lto-cgraph.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr59626_0.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/lto/pr59626_1.c [new file with mode: 0644]