aboutsummaryrefslogtreecommitdiff
path: root/gcc/optc-save-gen.awk
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/optc-save-gen.awk')
-rw-r--r--gcc/optc-save-gen.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/optc-save-gen.awk b/gcc/optc-save-gen.awk
index 4672228..b822a0b 100644
--- a/gcc/optc-save-gen.awk
+++ b/gcc/optc-save-gen.awk
@@ -284,7 +284,7 @@ if (have_assert)
print "";
print " if (targetm.target_option.save)";
-print " targetm.target_option.save (ptr);";
+print " targetm.target_option.save (ptr, opts);";
print "";
for (i = 0; i < n_extra_target_vars; i++) {
@@ -347,7 +347,7 @@ for (i = 0; i < n_target_char; i++) {
# variables.
print "";
print " if (targetm.target_option.restore)";
-print " targetm.target_option.restore (ptr);";
+print " targetm.target_option.restore (opts, ptr);";
print "}";