diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2015-02-03 17:57:20 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2015-02-03 16:57:20 +0000 |
commit | ebc8f0bb3a8ac745dd710c7ce5cc918d998560c6 (patch) | |
tree | 408b784036755534b78b84759445181515b9be75 /gcc/cgraph.h | |
parent | 901e59b2bd947255b6a3fdacf387f37b4440aa0e (diff) | |
download | gcc-ebc8f0bb3a8ac745dd710c7ce5cc918d998560c6.zip gcc-ebc8f0bb3a8ac745dd710c7ce5cc918d998560c6.tar.gz gcc-ebc8f0bb3a8ac745dd710c7ce5cc918d998560c6.tar.bz2 |
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
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 40e6c6c..0fdb459 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -1296,6 +1296,8 @@ public: other operation that could make previously non-trapping memory accesses trapping. */ unsigned nonfreeing_fn : 1; + /* True if there was multiple COMDAT bodies merged by lto-symtab. */ + unsigned merged : 1; }; /* A cgraph node set is a collection of cgraph nodes. A cgraph node |