From patchwork Fri May 27 15:06:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bugfix,1/1] mesa-xlib: workaround gcc 4.6.0 ICE Date: Fri, 27 May 2011 15:06:44 -0000 From: Phil Blundell X-Patchwork-Id: 4905 Message-Id: <1306508804.2525.460.camel@phil-desktop> To: Patches and discussions about the oe-core layer On Fri, 2011-05-27 at 00:33 +0100, Richard Purdie wrote: > I talked about this on IRC but simply put, no way. > > The problem is: > > a) Arm specific > b) determined now to be armv7 specific > c) gcc version specific > > and the fix should reflect this. >From a fairly superficial look at the crash I suspect you probably want something like: It also looks like this could happen on ARMv6 as well, for what that's worth, though I haven't tested to see whether it actually does or not. p. --- arm.md~ 2011-05-27 15:18:31.916926254 +0100 +++ arm.md 2011-05-27 15:31:57.331525688 +0100 @@ -4213,7 +4213,9 @@ uxth%?\\t%0, %1 ldr%(h%)\\t%0, %1" [(set_attr "type" "alu_shift,load_byte") - (set_attr "predicable" "yes")] + (set_attr "predicable" "yes") + (set_attr "pool_range" "*,256") + (set_attr "neg_pool_range" "*,244")] ) (define_insn "*arm_zero_extendhisi2addsi"