aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@codesourcery.com>2004-11-24 01:19:40 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2004-11-24 01:19:40 +0000
commit554707bdf810583871de12213e5dcf298f1a431e (patch)
tree6b174b1e86e3f01b07a7b6036570a2eabe94c616
parent8ff4764d74384f6015ca4a2e849857bcf9652f1b (diff)
downloadgcc-554707bdf810583871de12213e5dcf298f1a431e.zip
gcc-554707bdf810583871de12213e5dcf298f1a431e.tar.gz
gcc-554707bdf810583871de12213e5dcf298f1a431e.tar.bz2
i386.c (override_options): Move SUBTARGET_OVERRIDE_OPTIONS before defaulting flag_omit_frame_pointer.
2004-11-24 Daniel Jacobowitz <dan@codesourcery.com> * config/i386/i386.c (override_options): Move SUBTARGET_OVERRIDE_OPTIONS before defaulting flag_omit_frame_pointer. From-SVN: r91132
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/i386.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 87fdf4f..bc1b49f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-24 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * config/i386/i386.c (override_options): Move
+ SUBTARGET_OVERRIDE_OPTIONS before defaulting
+ flag_omit_frame_pointer.
+
2004-11-23 Richard Henderson <rth@redhat.com>
* rtl.h (validate_subreg): Declare.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 3fca2f7..eb46028 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -1203,6 +1203,10 @@ override_options (void)
int const pta_size = ARRAY_SIZE (processor_alias_table);
+#ifdef SUBTARGET_OVERRIDE_OPTIONS
+ SUBTARGET_OVERRIDE_OPTIONS;
+#endif
+
/* Set the default values for switches whose default depends on TARGET_64BIT
in case they weren't overwritten by command line options. */
if (TARGET_64BIT)
@@ -1224,10 +1228,6 @@ override_options (void)
flag_pcc_struct_return = DEFAULT_PCC_STRUCT_RETURN;
}
-#ifdef SUBTARGET_OVERRIDE_OPTIONS
- SUBTARGET_OVERRIDE_OPTIONS;
-#endif
-
if (!ix86_tune_string && ix86_arch_string)
ix86_tune_string = ix86_arch_string;
if (!ix86_tune_string)