aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 45aacad..4046deb 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -12574,17 +12574,18 @@ cl_option_hasher::equal (tree x, tree y)
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;
@@ -12601,17 +12602,18 @@ build_optimization_node (struct gcc_options *opts)
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;