From a81a0bfa4e3ff84538a6e829c72ecfa8651aacd8 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Thu, 4 Oct 2018 16:48:50 +0000 Subject: [PATCH] Revert "Never reload fixed form constraints memory operand" This reverts commit r264834. 2018-10-04 Thomas Preud'homme Revert 2018-10-04 Thomas Preud'homme gcc/ * lra-constraints.c (process_address_1): Bail out for all satisfied fixed constraints. From-SVN: r264849 --- gcc/ChangeLog | 5 ----- gcc/lra-constraints.c | 3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0340fa32e55..d0112655d3c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -74,11 +74,6 @@ * ipa-inline.c (inline_to_all_callers_1): Call ultimate_alias_target for node being inlined. -2018-10-04 Thomas Preud'homme - - * lra-constraints.c (process_address_1): Bail out for all - satisfied fixed constraints. - 2018-10-03 Jeff Law * gimple-ssa-sprintf.c (format_string): Do not hardcode size of diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index c3edd9ef45d..774d1ff3aaa 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -3243,7 +3243,8 @@ process_address_1 (int nop, bool check_only_p, /* Do not attempt to decompose arbitrary addresses generated by combine for asm operands with loose constraints, e.g 'X'. */ else if (MEM_P (op) - && !(get_constraint_type (cn) == CT_FIXED_FORM + && !(INSN_CODE (curr_insn) < 0 + && get_constraint_type (cn) == CT_FIXED_FORM && constraint_satisfied_p (op, cn))) decompose_mem_address (&ad, op); else if (GET_CODE (op) == SUBREG -- 2.30.2