------- Comment #4 from mikpe at it dot uu dot se 2010-06-19 17:56 ------- I my earlier tests I failed to notice that this test case triggers one of two different ICEs, depending on options and compiler version. I also mistakenly tested with a locally modified gcc-4.4.
The ICE in this PR, in gen_thumb_movhi_clobber, is triggered by r147270 + r147274, updates to loop-invariant.c part of PR33928 fixes with no ARM specific bits. Another ICE, in default_secondary_reload, is triggered by r146904. Which ICE you get depends on -f{no-,}forward-propagate. Both ICEs disappear if r146904 is reverted. gcc-4.4.4 includes a backport or r146904 and does trigger the default_secondary_reload ICE. gcc-4.3.4 does not ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44557