From: Kelvin Nilsen Date: Fri, 10 Mar 2017 15:29:35 +0000 (+0000) Subject: rs6000.c (rs6000_option_override_internal): Fix two typographic errors in the handlin... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a147ef113d5c6c0fd44e2de7149c8fbd1e2a7882;p=gcc.git rs6000.c (rs6000_option_override_internal): Fix two typographic errors in the handling of TARGET_UPPER_REGS_DI. gcc/ChangeLog: 2017-03-10 Kelvin Nilsen * config/rs6000/rs6000.c (rs6000_option_override_internal): Fix two typographic errors in the handling of TARGET_UPPER_REGS_DI. From-SVN: r246035 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34c6f291421..19e68375cca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-03-10 Kelvin Nilsen + + * 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 PR target/79907 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index c6ba091baed..6618481ee3b 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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)