aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2002-06-28 18:07:41 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2002-06-28 18:07:41 +0000
commita7ae18e27878546dd95585d04a64d34b22c12656 (patch)
treec107de05e760bf64a57120b1b3c981b1c9b40176
parent3a9b8c7e917fad86afb8136de742a67cc9a2fe83 (diff)
downloadgcc-a7ae18e27878546dd95585d04a64d34b22c12656.zip
gcc-a7ae18e27878546dd95585d04a64d34b22c12656.tar.gz
gcc-a7ae18e27878546dd95585d04a64d34b22c12656.tar.bz2
revert: rs6000.c (rs6000_override_options): Move *SUBTARGET_OVERRIDE_OPTIONS before the -m options.
2002-06-27 Aldy Hernandez <aldyh@redhat.com> Revert: * config/rs6000/rs6000.c (rs6000_override_options): Move *SUBTARGET_OVERRIDE_OPTIONS before the -m options. From-SVN: r55068
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/rs6000.c14
2 files changed, 13 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6813ca9..9230aaa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2002-06-27 Aldy Hernandez <aldyh@redhat.com>
+ Revert:
+ * config/rs6000/rs6000.c (rs6000_override_options): Move
+ *SUBTARGET_OVERRIDE_OPTIONS before the -m options.
+
+2002-06-27 Aldy Hernandez <aldyh@redhat.com>
+
* config/rs6000/rs6000.c (altivec_expand_builtin): Move
lvx/stv/dst builtins...
(altivec_expand_ld_builtin): ...to here.
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 48c8748..1fdb8df 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -544,13 +544,6 @@ 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)
{
@@ -583,6 +576,13 @@ rs6000_override_options (default_cpu)
/* Handle -mvrsave= option. */
rs6000_parse_vrsave_option ();
+#ifdef SUBTARGET_OVERRIDE_OPTIONS
+ SUBTARGET_OVERRIDE_OPTIONS;
+#endif
+#ifdef SUBSUBTARGET_OVERRIDE_OPTIONS
+ SUBSUBTARGET_OVERRIDE_OPTIONS;
+#endif
+
/* Handle -m(no-)longcall option. This is a bit of a cheap hack,
using TARGET_OPTIONS to handle a toggle switch, but we're out of
bits in target_flags so TARGET_SWITCHES cannot be used.