tree.c (initialize_tree_contains_struct): Make TS_OPTIMIZATION and TS_TARGET_OPTION directly derive from TS_BASE.
2017-01-12 Richard Biener <rguenther@suse.de> * tree.c (initialize_tree_contains_struct): Make TS_OPTIMIZATION and TS_TARGET_OPTION directly derive from TS_BASE. * tree-core.h (tree_optimization_option): Derive from tree_base. (tree_target_option): Likewise. From-SVN: r244349
This commit is contained in:
parent
f15dbadbf6
commit
ef9d56f8ac
|
@ -1,3 +1,10 @@
|
|||
2017-01-12 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* tree.c (initialize_tree_contains_struct): Make TS_OPTIMIZATION
|
||||
and TS_TARGET_OPTION directly derive from TS_BASE.
|
||||
* tree-core.h (tree_optimization_option): Derive from tree_base.
|
||||
(tree_target_option): Likewise.
|
||||
|
||||
2017-01-11 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386.c (memory_address_length): Increase len
|
||||
|
|
|
@ -1794,7 +1794,7 @@ struct GTY(()) tree_statement_list
|
|||
/* Optimization options used by a function. */
|
||||
|
||||
struct GTY(()) tree_optimization_option {
|
||||
struct tree_common common;
|
||||
struct tree_base base;
|
||||
|
||||
/* The optimization options used by the user. */
|
||||
struct cl_optimization *opts;
|
||||
|
@ -1815,7 +1815,7 @@ struct GTY(()) target_globals;
|
|||
/* Target options used by a function. */
|
||||
|
||||
struct GTY(()) tree_target_option {
|
||||
struct tree_common common;
|
||||
struct tree_base base;
|
||||
|
||||
/* Target globals for the corresponding target option. */
|
||||
struct target_globals *globals;
|
||||
|
|
|
@ -508,6 +508,8 @@ initialize_tree_contains_struct (void)
|
|||
{
|
||||
case TS_TYPED:
|
||||
case TS_BLOCK:
|
||||
case TS_OPTIMIZATION:
|
||||
case TS_TARGET_OPTION:
|
||||
MARK_TS_BASE (code);
|
||||
break;
|
||||
|
||||
|
@ -532,8 +534,6 @@ initialize_tree_contains_struct (void)
|
|||
case TS_VEC:
|
||||
case TS_BINFO:
|
||||
case TS_OMP_CLAUSE:
|
||||
case TS_OPTIMIZATION:
|
||||
case TS_TARGET_OPTION:
|
||||
MARK_TS_COMMON (code);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue