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
+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
/* 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;
/* 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;
{
case TS_TYPED:
case TS_BLOCK:
+ case TS_OPTIMIZATION:
+ case TS_TARGET_OPTION:
MARK_TS_BASE (code);
break;
case TS_VEC:
case TS_BINFO:
case TS_OMP_CLAUSE:
- case TS_OPTIMIZATION:
- case TS_TARGET_OPTION:
MARK_TS_COMMON (code);
break;