This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ppc: fix for pr31281, ObjC try-catch ICEs 4.2


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).



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]