Commit d5785e76 by Jakub Jelinek Committed by Jakub Jelinek

re PR rtl-optimization/52113 ([lower-subreg.c] ICE: in extract_insn, at recog.c:2123)

	PR rtl-optimization/52113
	* lower-subreg.c (decompose_multiword_subregs): Call recog_memoized
	even for decomposable shift/zext insns.

	* gcc.target/avr/pr52113.c: New test.

From-SVN: r183894
parent 03548f7b
2012-02-04 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/52113
* lower-subreg.c (decompose_multiword_subregs): Call recog_memoized
even for decomposable shift/zext insns.
2012-02-03 Jakub Jelinek <jakub@redhat.com>
Zdenek Dvorak <ook@ucw.cz>
......
/* Decompose multiword subregs.
Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012
Free Software Foundation, Inc.
Contributed by Richard Henderson <rth@redhat.com>
Ian Lance Taylor <iant@google.com>
......@@ -1135,10 +1136,11 @@ decompose_multiword_subregs (void)
|| GET_CODE (PATTERN (insn)) == USE)
continue;
recog_memoized (insn);
if (find_decomposable_shift_zext (insn))
continue;
recog_memoized (insn);
extract_insn (insn);
set = simple_move (insn);
......
2012-02-04 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/52113
* gcc.target/avr/pr52113.c: New test.
2012-02-03 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/52092
......
/* PR rtl-optimization/52113 */
unsigned long v1;
unsigned char v2;
void
foo (void)
{
if (v1 > (v2 * 1000L))
v1 = 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment