From: Uros Bizjak Date: Wed, 18 Aug 2010 22:37:03 +0000 (+0200) Subject: re PR target/45327 (ICE: SIGSEGV in rtx_equal_p (rtl.c:496) with -O1 -funroll-loops... X-Git-Tag: releases/gcc-4.6.0~4944 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0fb2f9b1f0d3586ed128995cd54063307c8f5b84;p=thirdparty%2Fgcc.git re PR target/45327 (ICE: SIGSEGV in rtx_equal_p (rtl.c:496) with -O1 -funroll-loops -fnon-call-exceptions) PR target/45327 * config/i386/i386.md (_3): Do not use ix86_binary_operator_ok. From-SVN: r163357 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 83ab94bbcf5d..f7e5e33069bf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-08-18 Uros Bizjak + + PR target/45327 + * config/i386/i386.md (_3): Do not use + ix86_binary_operator_ok. + 2010-08-18 Uros Bizjak * config/i386/i386.md (*add_1) : Split insn to lea. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 8d61bb61cbe5..6215f1980314 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -8456,7 +8456,7 @@ (const_int 0))) (clobber (match_scratch:SWI 0 "="))] "ix86_match_ccmode (insn, CCNOmode) - && ix86_binary_operator_ok (, mode, operands)" + && !(MEM_P (operands[1]) && MEM_P (operands[2]))" "{}\t{%2, %0|%0, %2}" [(set_attr "type" "alu") (set_attr "mode" "")])