]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR lto/59626 (/usr/include/bits/unistd.h:173:1: error: inlining failed in call...
authorJan Hubicka <hubicka@ucw.cz>
Fri, 4 Apr 2014 18:02:31 +0000 (20:02 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 4 Apr 2014 18:02:31 +0000 (18:02 +0000)
commit8fe91ca80ebe76ddc0f66674061209dd6a5e7557
treed5d626b8502a78d19963191e0451f75ee3853ad9
parent88d946326b489b2235f8ebd0c7d95a5803018740
re PR lto/59626 (/usr/include/bits/unistd.h:173:1: error: inlining failed in call to always_inline 'readlinkat': recursive inlining)

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.

From-SVN: r209123
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]