aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2002-06-28 04:21:17 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2002-06-28 04:21:17 +0000
commit55c1c60d4fb961c1e895d53203b23c68f9744eb9 (patch)
tree99c3a7323fab572799bc16093ffac08c2d260594
parent3219c65bc950a06b5fea0a2b579c0c730e63e20a (diff)
downloadgcc-55c1c60d4fb961c1e895d53203b23c68f9744eb9.zip
gcc-55c1c60d4fb961c1e895d53203b23c68f9744eb9.tar.gz
gcc-55c1c60d4fb961c1e895d53203b23c68f9744eb9.tar.bz2
Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_override_options): Move *SUBTARGET_OVERRIDE_OPTIONS before the -m options. From-SVN: r55053
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rs6000.c14
2 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 496d52b..ab1a59b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-27 Aldy Hernandez <aldyh@redhat.com>
+
+ * config/rs6000/rs6000.c (rs6000_override_options): Move
+ *SUBTARGET_OVERRIDE_OPTIONS before the -m options.
+
2002-06-27 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.md: Give "*xxx" names to all unnamed insn's.
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index d9501e6..b57d85c 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -541,6 +541,13 @@ rs6000_override_options (default_cpu)
}
#endif
+#ifdef SUBTARGET_OVERRIDE_OPTIONS
+ SUBTARGET_OVERRIDE_OPTIONS;
+#endif
+#ifdef SUBSUBTARGET_OVERRIDE_OPTIONS
+ SUBSUBTARGET_OVERRIDE_OPTIONS;
+#endif
+
/* Set debug flags */
if (rs6000_debug_name)
{
@@ -596,13 +603,6 @@ rs6000_override_options (default_cpu)
memcpy (rs6000_reg_names, alt_reg_names, sizeof (rs6000_reg_names));
#endif
-#ifdef SUBTARGET_OVERRIDE_OPTIONS
- SUBTARGET_OVERRIDE_OPTIONS;
-#endif
-#ifdef SUBSUBTARGET_OVERRIDE_OPTIONS
- SUBSUBTARGET_OVERRIDE_OPTIONS;
-#endif
-
/* Set TARGET_AIX_STRUCT_RET last, after the ABI is determined.
If -maix-struct-return or -msvr4-struct-return was explicitly
used, don't override with the ABI default. */