Commit ed6205b7 by H.J. Lu Committed by H.J. Lu

Check [SUB]SUBTARGET_OVERRIDE_OPTIONS after TARGET_64BIT

	* config/i386/i386.c (ix86_option_override_internal): Check
	SUBTARGET_OVERRIDE_OPTIONS and SUBSUBTARGET_OVERRIDE_OPTIONS
	after TARGET_64BIT is updated.

From-SVN: r186339
parent 78263296
2012-04-11 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_option_override_internal): Check
SUBTARGET_OVERRIDE_OPTIONS and SUBSUBTARGET_OVERRIDE_OPTIONS
after TARGET_64BIT is updated.
2012-04-11 Oleg Endo <olegendo@gcc.gnu.org> 2012-04-11 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/sh.h: Remove old secondary reload code. * config/sh/sh.h: Remove old secondary reload code.
......
...@@ -3113,14 +3113,6 @@ ix86_option_override_internal (bool main_args_p) ...@@ -3113,14 +3113,6 @@ ix86_option_override_internal (bool main_args_p)
sw = "attribute"; sw = "attribute";
} }
#ifdef SUBTARGET_OVERRIDE_OPTIONS
SUBTARGET_OVERRIDE_OPTIONS;
#endif
#ifdef SUBSUBTARGET_OVERRIDE_OPTIONS
SUBSUBTARGET_OVERRIDE_OPTIONS;
#endif
/* Turn off both OPTION_MASK_ABI_64 and OPTION_MASK_ABI_X32 if /* Turn off both OPTION_MASK_ABI_64 and OPTION_MASK_ABI_X32 if
TARGET_64BIT_DEFAULT is true and TARGET_64BIT is false. */ TARGET_64BIT_DEFAULT is true and TARGET_64BIT is false. */
if (TARGET_64BIT_DEFAULT && !TARGET_64BIT) if (TARGET_64BIT_DEFAULT && !TARGET_64BIT)
...@@ -3161,6 +3153,14 @@ ix86_option_override_internal (bool main_args_p) ...@@ -3161,6 +3153,14 @@ ix86_option_override_internal (bool main_args_p)
ix86_isa_flags &= ~OPTION_MASK_ABI_X32; ix86_isa_flags &= ~OPTION_MASK_ABI_X32;
} }
#ifdef SUBTARGET_OVERRIDE_OPTIONS
SUBTARGET_OVERRIDE_OPTIONS;
#endif
#ifdef SUBSUBTARGET_OVERRIDE_OPTIONS
SUBSUBTARGET_OVERRIDE_OPTIONS;
#endif
/* -fPIC is the default for x86_64. */ /* -fPIC is the default for x86_64. */
if (TARGET_MACHO && TARGET_64BIT) if (TARGET_MACHO && TARGET_64BIT)
flag_pic = 2; flag_pic = 2;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment