summaryrefslogtreecommitdiff
path: root/gcc/config/i386/i386-c.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/i386-c.c')
-rw-r--r--gcc/config/i386/i386-c.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/config/i386/i386-c.c b/gcc/config/i386/i386-c.c
index c03c8515bc3..1846efbe617 100644
--- a/gcc/config/i386/i386-c.c
+++ b/gcc/config/i386/i386-c.c
@@ -1,5 +1,5 @@
/* Subroutines used for macro/preprocessor support on the ia-32.
- Copyright (C) 2008, 2009
+ Copyright (C) 2008, 2009, 2010
Free Software Foundation, Inc.
This file is part of GCC.
@@ -283,7 +283,8 @@ ix86_pragma_target_parse (tree args, tree pop_target)
cur_tree = ((pop_target)
? pop_target
: target_option_default_node);
- cl_target_option_restore (TREE_TARGET_OPTION (cur_tree));
+ cl_target_option_restore (&global_options,
+ TREE_TARGET_OPTION (cur_tree));
}
else
{
@@ -297,8 +298,8 @@ ix86_pragma_target_parse (tree args, tree pop_target)
/* Figure out the previous/current isa, arch, tune and the differences. */
prev_opt = TREE_TARGET_OPTION (prev_tree);
cur_opt = TREE_TARGET_OPTION (cur_tree);
- prev_isa = prev_opt->ix86_isa_flags;
- cur_isa = cur_opt->ix86_isa_flags;
+ prev_isa = prev_opt->x_ix86_isa_flags;
+ cur_isa = cur_opt->x_ix86_isa_flags;
diff_isa = (prev_isa ^ cur_isa);
prev_arch = (enum processor_type) prev_opt->arch;
prev_tune = (enum processor_type) prev_opt->tune;