VAX: Fix a typo in NO_EXTERNAL_INDIRECT_ADDRESS
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)
Fix a typo in a NO_EXTERNAL_INDIRECT_ADDRESS macro check around an
assertion verifying DImode addition operands to be valid for PIC.

gcc/
* config/vax/vax.c (vax_output_int_add) <E_DImode>: Fix a typo
in NO_EXTERNAL_INDIRECT_ADDRESS.

gcc/config/vax/vax.c

index ffb7475ac74798148636f8469ff60653e57381fc..d372c4ace9dd9c8fa931a2cac3e6e09b216587d0 100644 (file)
@@ -1369,7 +1369,7 @@ vax_output_int_add (rtx_insn *insn, rtx *operands, machine_mode mode)
        if (TARGET_QMATH)
          {
            gcc_assert (rtx_equal_p (operands[0], operands[1]));
-#ifdef NO_EXTERNAL_INDIRECT_ADDRESSS
+#ifdef NO_EXTERNAL_INDIRECT_ADDRESS
            gcc_assert (!flag_pic || !external_memory_operand (low[2], SImode));
            gcc_assert (!flag_pic || !external_memory_operand (low[0], SImode));
 #endif