ipa-inline-analysis.c (simple_edge_hints): Fix check for cross-module inlining.
authorJan Hubicka <hubicka@ucw.cz>
Tue, 3 Feb 2015 16:57:20 +0000 (17:57 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 3 Feb 2015 16:57:20 +0000 (16:57 +0000)
commitebc8f0bb3a8ac745dd710c7ce5cc918d998560c6
tree408b784036755534b78b84759445181515b9be75
parent901e59b2bd947255b6a3fdacf387f37b4440aa0e
ipa-inline-analysis.c (simple_edge_hints): Fix check for cross-module inlining.

* ipa-inline-analysis.c (simple_edge_hints): Fix check for
cross-module inlining.
* cgraph.h (cgraph_node): Add flag merged.
* ipa-icf.c (sem_function::merge): Maintain it.

* lto-symtab.c (lto_cgraph_replace_node): Maintain merged flag.

From-SVN: r220372
gcc/ChangeLog
gcc/cgraph.h
gcc/ipa-icf.c
gcc/ipa-inline-analysis.c
gcc/lto/ChangeLog
gcc/lto/lto-symtab.c