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] |
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?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |