summaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-02-03 16:57:20 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2015-02-03 16:57:20 +0000
commit57e20c4ab4619b93eb94d20d06464ae8c6eacd41 (patch)
tree408b784036755534b78b84759445181515b9be75 /gcc/cgraph.h
parentb817769e5ea6a4e838071881e785967c8c00037e (diff)
downloadgcc-57e20c4ab4619b93eb94d20d06464ae8c6eacd41.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220372 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 40e6c6c767c..0fdb459ab00 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