rs6000.c (rs6000_option_override_internal): Fix two typographic errors in the handlin...
authorKelvin Nilsen <kelvin@gcc.gnu.org>
Fri, 10 Mar 2017 15:29:35 +0000 (15:29 +0000)
committerKelvin Nilsen <kelvin@gcc.gnu.org>
Fri, 10 Mar 2017 15:29:35 +0000 (15:29 +0000)
gcc/ChangeLog:

2017-03-10  Kelvin Nilsen  <kelvin@gcc.gnu.org>

* config/rs6000/rs6000.c (rs6000_option_override_internal): Fix
two typographic errors in the handling of TARGET_UPPER_REGS_DI.

From-SVN: r246035

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

index 34c6f2914219d27cda352156a3b0ecdce19001bd..19e68375cca435413e327223b78480b7251d6c44 100644 (file)
@@ -1,3 +1,8 @@
+2017-03-10  Kelvin Nilsen  <kelvin@gcc.gnu.org>
+
+       * config/rs6000/rs6000.c (rs6000_option_override_internal): Fix
+       two typographic errors in the handling of TARGET_UPPER_REGS_DI.
+
 2017-03-10  Pat Haugen  <pthaugen@us.ibm.com>
 
        PR target/79907
index c6ba091baed9c1d87f34df7d5fca9b0aa937f23c..6618481ee3b8f5bed3473c4b4405ed1683dd46d2 100644 (file)
@@ -4320,9 +4320,9 @@ rs6000_option_override_internal (bool global_init_p)
 
   if (TARGET_UPPER_REGS_DI && !TARGET_VSX)
     {
-      if (rs6000_isa_flags_explicit & OPTION_MASK_UPPER_REGS_DF)
+      if (rs6000_isa_flags_explicit & OPTION_MASK_UPPER_REGS_DI)
        error ("-mupper-regs-di requires -mvsx");
-      rs6000_isa_flags &= ~OPTION_MASK_UPPER_REGS_DF;
+      rs6000_isa_flags &= ~OPTION_MASK_UPPER_REGS_DI;
     }
 
   if (TARGET_UPPER_REGS_SF && !TARGET_P8_VECTOR)