From b5ba5188a546443cf3a6ce3b1306c54265ddf675 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 10 May 2012 13:40:20 +0000 Subject: [PATCH] re PR target/53120 (ICE exposing strict_low_part / in/out operand thinko -fno-tree-sra) PR target/53120 * config/m32c/bitops.md (bset_qi): Change operand 2 from having a "0" constraint to being a (match_dup 0). From-SVN: r187368 --- gcc/ChangeLog | 6 ++++++ gcc/config/m32c/bitops.md | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8da7a7f88e9..bd51a3c8945 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-05-10 Nick Clifton + + PR target/53120 + * config/m32c/bitops.md (bset_qi): Change operand 2 from having + a "0" constraint to being a (match_dup 0). + 2012-05-10 Richard Guenther * stor-layout.c (byte_from_pos): Amend comment. diff --git a/gcc/config/m32c/bitops.md b/gcc/config/m32c/bitops.md index 3c8e8427b28..060362de71e 100644 --- a/gcc/config/m32c/bitops.md +++ b/gcc/config/m32c/bitops.md @@ -43,11 +43,11 @@ [(set (match_operand:QI 0 "memsym_operand" "+Si") (ior:QI (subreg:QI (ashift:HI (const_int 1) (subreg:QI (match_operand:HI 1 "a_qi_operand" "Raa") 0)) 0) - (match_operand:QI 2 "memsym_operand" "0")))] + (match_dup 0)))] "TARGET_A16" "bset\t%0[%1]" [(set_attr "flags" "n")] - ) + ) (define_insn "bset_hi" [(set (zero_extract:HI (match_operand:QI 0 "memsym_operand" "+Si") -- 2.30.2