From: Richard Henderson Date: Tue, 1 Apr 2014 14:40:27 +0000 (-0700) Subject: re PR target/60704 (ICE: in extract_constrain_insn_cached, at recog.c:2156 with ... X-Git-Tag: basepoints/gcc-5~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a1ffd6db5dc970b2c41f78ac5c37dc21b13de6a;p=thirdparty%2Fgcc.git re PR target/60704 (ICE: in extract_constrain_insn_cached, at recog.c:2156 with -flive-range-shrinkage -march=amdfam10) PR target/60704 * config/i386/i386.md (*float2_sse): Leave the second alternative enabled before register allocation. From-SVN: r208989 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 238b14df41e7..5fc97c40bfe7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-04-01 Richard Henderson + + PR target/60704 + * config/i386/i386.md (*float2_sse): Leave the second + alternative enabled before register allocation. + 2014-04-01 Chung-Lin Tang * config/nios2/nios2.md (unspec): Remove UNSPEC_TLS, UNSPEC_TLS_LDM. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index ca16173abbb5..25e2e93e3178 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -4739,8 +4739,13 @@ && X87_ENABLE_FLOAT (mode, mode)") (eq_attr "alternative" "1") + /* ??? For sched1 we need constrain_operands to be able to + select an alternative. Leave this enabled before RA. */ (symbol_ref "TARGET_INTER_UNIT_CONVERSIONS - || optimize_function_for_size_p (cfun)") + || optimize_function_for_size_p (cfun) + || !(reload_completed + || reload_in_progress + || lra_in_progress)") ] (symbol_ref "true"))) ])