ppc: fix for pr31281, ObjC try-catch ICEs 4.2
Wed Mar 21 18:48:00 GMT 2007
On Mar 20, 2007, at 9:57 AM, Stuart Hastings wrote:
> While the above patch fixes the ICE and produces correct-looking
> code, the generated code is ugly, as GCC generates a mfcr/mtcr,
> much shifting and masking, plus a conditional branch to
> accomplish... an unconditional branch. I believe the cause is in
> the Objective-C front-end; removing the 'volatile' attribute from
> the artificial 'rethrow' variable fixes the ugly code. Note the
> first change is inside a large (and welcome!) comment:
> O.K. to commit into 4.2?
This is Ok for mainline, as applicable. It is Ok for 4.2, once
checked into mainline if applicable).
More information about the Gcc-patches