diff mbox series

PR90689, ICE in extract_insn on ppc64le

Message ID 20190604001525.GA21461@bubble.grove.modra.org
State New
Headers show
Series PR90689, ICE in extract_insn on ppc64le | expand

Commit Message

Alan Modra June 4, 2019, 12:15 a.m. UTC
I've committed this patch as an obvious fix to correct a merge error.

	PR target/90689
	* config/rs6000/rs6000.c (rs6000_call_aix): Correct r271753 merge
	error.
diff mbox series

Patch

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 3aa19db863c..95cf9d66017 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -37870,9 +37870,7 @@  rs6000_call_aix (rtx value, rtx func_desc, rtx tlsarg, rtx cookie)
 						 gen_rtx_PLUS (Pmode, stack_ptr,
 							       stack_toc_offset));
 	      MEM_VOLATILE_P (stack_toc_mem) = 1;
-	      if (HAVE_AS_PLTSEQ
-		  && DEFAULT_ABI == ABI_ELFv2
-		  && GET_CODE (func_desc) == SYMBOL_REF)
+	      if (is_pltseq_longcall)
 		{
 		  rtvec v = gen_rtvec (3, toc_reg, func_desc, tlsarg);
 		  rtx mark_toc_reg = gen_rtx_UNSPEC (Pmode, v, UNSPEC_PLTSEQ);