VAX: Correct a typo in PIC symbolic addition operand checks
authorMaciej W. Rozycki <macro@linux-mips.org>
Sun, 15 Nov 2020 17:41:52 +0000 (17:41 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Sun, 15 Nov 2020 17:41:52 +0000 (17:41 +0000)
commitc454324bff9c448c2c6acf8f1b25f4af43d269e1
treee035d7e864437980b02e5232d1ff49937dfec42f
parentbaf38d2e363971ed8baa5f82b2eaf21cd8e74aae
VAX: Correct a typo in PIC symbolic addition operand checks

Fix a typo and check both SImode addition operands for being incorrectly
symbolic in PIC mode before issuing a diagnostic dump of the offending
RTL expression.

gcc/
* config/vax/vax.c (vax_output_int_add) <E_SImode>: Also check
`operands[2]' for being symbolic with PIC rather than checking
`operands[1]' twice.
gcc/config/vax/vax.c