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  <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
This commit is contained in:
Kelvin Nilsen 2017-03-10 15:29:35 +00:00
parent cdd669f9fc
commit a147ef113d
2 changed files with 7 additions and 2 deletions

View 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

View 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)