From 075fdf85245a4d610479598bff9dadd304c3c1a0 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Sun, 15 Nov 2020 17:41:52 +0000 Subject: [PATCH] VAX: Fix a typo in NO_EXTERNAL_INDIRECT_ADDRESS 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) : Fix a typo in NO_EXTERNAL_INDIRECT_ADDRESS. --- gcc/config/vax/vax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/vax/vax.c b/gcc/config/vax/vax.c index ffb7475ac74..d372c4ace9d 100644 --- a/gcc/config/vax/vax.c +++ b/gcc/config/vax/vax.c @@ -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 -- 2.30.2