http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49468
Oleg Endo <oleg.e...@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #24625|0 |1 is obsolete| | --- Comment #7 from Oleg Endo <oleg.e...@t-online.de> 2011-09-25 12:48:24 UTC --- Created attachment 25360 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25360 Proposed patch The last version of the patch fails the test gcc.c-torture/execute/arith-rand-ll.c for -m2a-single -mb and multiple optimization levels with the following error: internal compiler error: in change_address_1, at emit-rtl.c:1994 The attached version fixes some of the failures but still fails the test above with -m2a-single -mb -O2. Other optimization levels work fine. The problem is caused by the define_insn_and_split "*abssi2". It even fails if the "*abssi2" splits into nothing but a simple register copy (movdi) or comparison insn. I'm now testing the patch without the DI abs parts and will submit it if passes without new failures. Cheers, Oleg