aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-05-17 00:24:26 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-05-16 22:24:26 +0000
commitccbbf8a2db7c501bc3ad176b741f4de4e1c9642a (patch)
tree4771f6f7459bb79d821387c1cdb37bd5ee699b11 /gcc/cgraph.h
parent91fbf0c7c60930152acf7ec888ffa08383a20453 (diff)
downloadgcc-ccbbf8a2db7c501bc3ad176b741f4de4e1c9642a.zip
gcc-ccbbf8a2db7c501bc3ad176b741f4de4e1c9642a.tar.gz
gcc-ccbbf8a2db7c501bc3ad176b741f4de4e1c9642a.tar.bz2
cgraph.c (dump_cgraph_node): Dump versionable flag.
* cgraph.c (dump_cgraph_node): Dump versionable flag. * cgraph.h (cgraph_local_info): Add versionable flag. * ipa-cp.c (ipcp_analyze_node): Set versionable flag. (ipcp_versionable_function_p): Use it. * lto-cgraph.c (lto_output_node, input_overwrite_node): Stream versionable flag. From-SVN: r159467
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index d0f7e9a..f8d8e6e 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -105,6 +105,10 @@ struct GTY(()) cgraph_local_info {
/* False when there something makes inlining impossible (such as va_arg). */
unsigned inlinable : 1;
+ /* False when there something makes versioning impossible.
+ Currently computed and used only by ipa-cp. */
+ unsigned versionable : 1;
+
/* True when function should be inlined independently on its size. */
unsigned disregard_inline_limits : 1;