diff options
author | Richard Henderson <rth@redhat.com> | 2012-11-06 09:38:38 -0800 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2012-11-06 09:38:38 -0800 |
commit | 5347d82b89a27d541b39439aed0d304426d8b353 (patch) | |
tree | 0274b6cb0ba20dc1921b76214bfc54e6495820e7 /gcc/tree.h | |
parent | cdbe84c78a7a5fb14e7d89200559237335f2a860 (diff) | |
parent | 698dd25b854c589f62180a0324806e8899c76bcd (diff) | |
download | gcc-5347d82b89a27d541b39439aed0d304426d8b353.tar.gz |
Merge remote-tracking branch 'trunk' into aldyh/uninst
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h index d921886c2ea..5fe1f1f46bd 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -3480,6 +3480,12 @@ extern VEC(tree, gc) **decl_debug_args_insert (tree); #define DECL_FUNCTION_SPECIFIC_OPTIMIZATION(NODE) \ (FUNCTION_DECL_CHECK (NODE)->function_decl.function_specific_optimization) +/* In FUNCTION_DECL, this is set if this function has other versions generated + using "target" attributes. The default version is the one which does not + have any "target" attribute set. */ +#define DECL_FUNCTION_VERSIONED(NODE)\ + (FUNCTION_DECL_CHECK (NODE)->function_decl.versioned_function) + /* FUNCTION_DECL inherits from DECL_NON_COMMON because of the use of the arguments/result/saved_tree fields by front ends. It was either inherit FUNCTION_DECL from non_common, or inherit non_common from FUNCTION_DECL, @@ -3524,8 +3530,8 @@ struct GTY(()) tree_function_decl { unsigned looping_const_or_pure_flag : 1; unsigned has_debug_args_flag : 1; unsigned tm_clone_flag : 1; - - /* 1 bit left */ + unsigned versioned_function : 1; + /* No bits left. */ }; /* The source language of the translation-unit. */ |