Check opts->x_ix86_arch_string

* config/i386/i386.c (ix86_option_override_internal): Check
	opts->x_ix86_arch_string instead of ix86_arch_string.

From-SVN: r206196
This commit is contained in:
H.J. Lu 2013-12-24 20:12:47 +00:00 committed by H.J. Lu
parent c75d51aa81
commit 50a1f11183
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-12-24 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_option_override_internal): Check
opts->x_ix86_arch_string instead of ix86_arch_string.
2013-12-24 Renlin Li <Renlin.Li@arm.com> 2013-12-24 Renlin Li <Renlin.Li@arm.com>
* config/arm/arm-protos.h (vfp_const_double_for_bits): Declare. * config/arm/arm-protos.h (vfp_const_double_for_bits): Declare.

View File

@ -3645,7 +3645,7 @@ ix86_option_override_internal (bool main_args_p,
if (!strcmp (opts->x_ix86_arch_string, "generic")) if (!strcmp (opts->x_ix86_arch_string, "generic"))
error ("generic CPU can be used only for %stune=%s %s", error ("generic CPU can be used only for %stune=%s %s",
prefix, suffix, sw); prefix, suffix, sw);
else if (!strcmp (ix86_arch_string, "intel")) else if (!strcmp (opts->x_ix86_arch_string, "intel"))
error ("intel CPU can be used only for %stune=%s %s", error ("intel CPU can be used only for %stune=%s %s",
prefix, suffix, sw); prefix, suffix, sw);
else if (!strncmp (opts->x_ix86_arch_string, "generic", 7) || i == pta_size) else if (!strncmp (opts->x_ix86_arch_string, "generic", 7) || i == pta_size)