re PR target/20277 (-mcpu=power4 vs. -maltivec)
authorAlan Modra <amodra@bigpond.net.au>
Thu, 3 Mar 2005 01:03:28 +0000 (01:03 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Thu, 3 Mar 2005 01:03:28 +0000 (11:33 +1030)
PR target/20277
* config/rs6000/rs6000.c (rs6000_override_options): Don't allow
-mcpu to override any other explicitly given flags.

From-SVN: r95820

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

index 8e4d6dc15a6695d3aec66378867a9b37c9fac2bf..ac00e934878b759af28cd6efa6491bebf3188f80 100644 (file)
@@ -1,3 +1,9 @@
+2005-03-03  Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/20277
+       * config/rs6000/rs6000.c (rs6000_override_options): Don't allow
+       -mcpu to override any other explicitly given flags.
+
 2005-03-02  J"orn Rennecke <joern.rennecke@st.com>
 
        * recog.c (verify_changes, confirm_change_group): New functions,
index ff6d09d3ba03735c94b559081ad481c245d1c34e..2687a1acb1c07407cc70b635dc1725b8392f2eb2 100644 (file)
@@ -1192,9 +1192,8 @@ rs6000_override_options (const char *default_cpu)
     set_masks &= ~MASK_ALTIVEC;
 #endif
 
-  /* Don't override these by the processor default if given explicitly.  */
-  set_masks &= ~(target_flags_explicit
-                & (MASK_MULTIPLE | MASK_STRING | MASK_SOFT_FLOAT));
+  /* Don't override by the processor default if given explicitly.  */
+  set_masks &= ~target_flags_explicit;
 
   /* Identify the processor type.  */
   rs6000_select[0].string = default_cpu;