From c5e5536e3b6d393dd3523da4c9963e952a448617 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 4 Jun 2019 09:43:07 +0930 Subject: [PATCH] PR90689, ICE in extract_insn on ppc64le PR target/90689 * config/rs6000/rs6000.c (rs6000_call_aix): Correct r271753 merge error. From-SVN: r271895 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/rs6000.c | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d012ce23e54..37aab7915f8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-06-04 Alan Modra + + PR target/90689 + * config/rs6000/rs6000.c (rs6000_call_aix): Correct r271753 merge + error. + 2019-06-03 Segher Boessenkool * config/rs6000/rs6000.h (MASK_MFPGPR): Delete. 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); -- 2.30.2