Don't check TARGET_64BIT if TARGET_64BIT_DEFAULT is false

2012-03-31  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/52784
	* config/i386/i386.c (ix86_option_override_internal): Don't
	check TARGET_64BIT if TARGET_64BIT_DEFAULT is false.

From-SVN: r186049
This commit is contained in:
H.J. Lu 2012-03-31 21:03:36 +00:00 committed by H.J. Lu
parent 8d960eda47
commit b6c0357f16
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2012-03-31 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/52784
* config/i386/i386.c (ix86_option_override_internal): Don't
check TARGET_64BIT if TARGET_64BIT_DEFAULT is false.
2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
* tree-cfg.c (call_can_make_abnormal_goto): New predicate.

View file

@ -3118,8 +3118,8 @@ ix86_option_override_internal (bool main_args_p)
#endif
/* Turn off both OPTION_MASK_ABI_64 and OPTION_MASK_ABI_X32 if
TARGET_64BIT is false. */
if (!TARGET_64BIT)
TARGET_64BIT_DEFAULT is true and TARGET_64BIT is false. */
if (TARGET_64BIT_DEFAULT && !TARGET_64BIT)
ix86_isa_flags &= ~(OPTION_MASK_ABI_64 | OPTION_MASK_ABI_X32);
#ifdef TARGET_BI_ARCH
else