gcc_unreachable ();
}
-/* Build an OPTIMIZATION_NODE based on the options in OPTS. */
+/* Build an OPTIMIZATION_NODE based on the options in OPTS and OPTS_SET. */
tree
-build_optimization_node (struct gcc_options *opts)
+build_optimization_node (struct gcc_options *opts,
+ struct gcc_options *opts_set)
{
tree t;
/* Use the cache of optimization nodes. */
cl_optimization_save (TREE_OPTIMIZATION (cl_optimization_node),
- opts);
+ opts, opts_set);
tree *slot = cl_option_hash_table->find_slot (cl_optimization_node, INSERT);
t = *slot;
return t;
}
-/* Build a TARGET_OPTION_NODE based on the options in OPTS. */
+/* Build a TARGET_OPTION_NODE based on the options in OPTS and OPTS_SET. */
tree
-build_target_option_node (struct gcc_options *opts)
+build_target_option_node (struct gcc_options *opts,
+ struct gcc_options *opts_set)
{
tree t;
/* Use the cache of optimization nodes. */
cl_target_option_save (TREE_TARGET_OPTION (cl_target_option_node),
- opts);
+ opts, opts_set);
tree *slot = cl_option_hash_table->find_slot (cl_target_option_node, INSERT);
t = *slot;