handled_p[TS_OMP_CLAUSE] = true;
handled_p[TS_OPTIMIZATION] = true;
handled_p[TS_TARGET_OPTION] = true;
+ handled_p[TS_TRANSLATION_UNIT_DECL] = true;
/* Anything not marked above will trigger the following assertion.
If this assertion triggers, it means that there is a new TS_*
{
/* Type merging will get confused by the canonical types as they
are set by the middle-end. */
- TYPE_CANONICAL (node) = NULL_TREE;
+ if (in_lto_p)
+ TYPE_CANONICAL (node) = NULL_TREE;
*nodep = node = gimple_register_type (node);
}
unnecessarily. */
common_nodes = lto_get_common_nodes ();
- for (i = 0; VEC_iterate (tree, common_nodes, i, node); i++)
+ FOR_EACH_VEC_ELT (tree, common_nodes, i, node)
preload_common_node (cache, node);
VEC_free(tree, heap, common_nodes);