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: [PATCH] Fix PR target/26272 __builtin_setjmp and loops on powerpc-darwin


On Feb 15, 2006, at 8:25 PM, Andrew Pinski wrote:
The problem here is that the patters for the reloading of the PIC register
is being moved before the loop and before the actual setjmp. This causes
gcc.c-torture/execute/built-in-setjmp.c to fail at -O2 and above.


This fixes the problem by adding (pc) so that move loop invariants
don't move the reloading of the PIC register before the loop.


OK?

Ok. I'll pre-approve the x86 version, if you'd like to do that one as well. I think the x86 patch would be fine with little testing. There is lots that remains to be done there anyway.



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