diff mbox series

[committed] VAX: Fix a typo in NO_EXTERNAL_INDIRECT_ADDRESS

Message ID alpine.LFD.2.21.2011151700150.4064799@eddie.linux-mips.org
State Accepted
Headers show
Series [committed] VAX: Fix a typo in NO_EXTERNAL_INDIRECT_ADDRESS | expand

Commit Message

Maciej W. Rozycki Nov. 15, 2020, 5:44 p.m. UTC
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.
---
Hi,

 No regressions in `vax-netbsdelf' testing; committed as obvious.

  Maciej
---
 gcc/config/vax/vax.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

gcc-vax-external-indirect-address-typo.diff
diff mbox series

Patch

Index: gcc/gcc/config/vax/vax.c
===================================================================
--- gcc.orig/gcc/config/vax/vax.c
+++ gcc/gcc/config/vax/vax.c
@@ -1369,7 +1369,7 @@  vax_output_int_add (rtx_insn *insn, rtx
 	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