OSDN Git Service

2002-06-27 Aldy Hernandez <aldyh@redhat.com>
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Jun 2002 18:07:41 +0000 (18:07 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Jun 2002 18:07:41 +0000 (18:07 +0000)
        Revert:
        * config/rs6000/rs6000.c (rs6000_override_options): Move
        *SUBTARGET_OVERRIDE_OPTIONS before the -m options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55068 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 6813ca9..9230aaa 100644 (file)
@@ -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.
index 48c8748..1fdb8df 100644 (file)
@@ -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.