aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKirill Yukhin <kirill.yukhin@intel.com>2014-10-23 11:44:12 +0000
committerKirill Yukhin <kyukhin@gcc.gnu.org>2014-10-23 11:44:12 +0000
commitc1b7a563e061a32a0c8531989ee205e4d2fbb3e6 (patch)
tree6b97fac078b69a1e6c9007bd4de58448c278b49e /gcc
parent8bbc64707dcb206b8c39f8517b5a4177fb1ff4ec (diff)
downloadgcc-c1b7a563e061a32a0c8531989ee205e4d2fbb3e6.zip
gcc-c1b7a563e061a32a0c8531989ee205e4d2fbb3e6.tar.gz
gcc-c1b7a563e061a32a0c8531989ee205e4d2fbb3e6.tar.bz2
AVX-512. 81.1/n. Extend `function_code' field `tree_var_decl' structure.
gcc/ * tree-core.h (tree_var_decl): Extend `function_code' field by one bit, move `regdecl_flag' field to ... (tree_decl_with_vis): Here. * tree.h (DECL_STATIC_CHAIN): Update struct name. From-SVN: r216590
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/tree-core.h9
-rw-r--r--gcc/tree.h2
3 files changed, 13 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6d8388f..45ec506 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2014-10-23 Kirill Yukhin <kirill.yukhin@intel.com>
+
+ * tree-core.h (tree_var_decl): Extend `function_code' field
+ by one bit, move `regdecl_flag' field to ...
+ (tree_decl_with_vis): Here.
+ * tree.h (DECL_STATIC_CHAIN): Update struct name.
+
2014-10-23 Richard Biener <rguenther@suse.de>
* Makefile.in (BUILD_CPPLIB): Add.
diff --git a/gcc/tree-core.h b/gcc/tree-core.h
index b69312b..30db893 100644
--- a/gcc/tree-core.h
+++ b/gcc/tree-core.h
@@ -1498,7 +1498,9 @@ struct GTY(()) tree_decl_with_vis {
unsigned cxx_destructor : 1;
/* Belong to FUNCTION_DECL exclusively. */
unsigned final : 1;
- /* 15 unused bits. */
+ /* Belong to FUNCTION_DECL exclusively. */
+ unsigned regdecl_flag : 1;
+ /* 14 unused bits. */
};
struct GTY(()) tree_var_decl {
@@ -1539,20 +1541,19 @@ struct GTY(()) tree_function_decl {
DECL_FUNCTION_CODE. Otherwise unused.
??? The bitfield needs to be able to hold all target function
codes as well. */
- ENUM_BITFIELD(built_in_function) function_code : 11;
+ ENUM_BITFIELD(built_in_function) function_code : 12;
ENUM_BITFIELD(built_in_class) built_in_class : 2;
unsigned static_ctor_flag : 1;
unsigned static_dtor_flag : 1;
- unsigned uninlinable : 1;
+ unsigned uninlinable : 1;
unsigned possibly_inlined : 1;
unsigned novops_flag : 1;
unsigned returns_twice_flag : 1;
unsigned malloc_flag : 1;
unsigned operator_new_flag : 1;
unsigned declared_inline_flag : 1;
- unsigned regdecl_flag : 1;
unsigned no_inline_warning_flag : 1;
unsigned no_instrument_function_entry_exit : 1;
diff --git a/gcc/tree.h b/gcc/tree.h
index 45f127f..2a085c9 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2553,7 +2553,7 @@ extern void decl_fini_priority_insert (tree, priority_type);
/* In a FUNCTION_DECL indicates that a static chain is needed. */
#define DECL_STATIC_CHAIN(NODE) \
- (FUNCTION_DECL_CHECK (NODE)->function_decl.regdecl_flag)
+ (FUNCTION_DECL_CHECK (NODE)->decl_with_vis.regdecl_flag)
/* Nonzero for a decl that cgraph has decided should be inlined into
at least one call site. It is not meaningful to look at this