re PR target/49437 (interrupt return pop sometimes corrupts sp)
authorJoey Ye <jye2@gcc.gnu.org>
Fri, 19 Aug 2011 08:28:08 +0000 (08:28 +0000)
committerJoey Ye <jye2@gcc.gnu.org>
Fri, 19 Aug 2011 08:28:08 +0000 (08:28 +0000)
commita3f94870980063aac37a66443fa6a0a3b0f91706
tree8281e26538384c97a1c8906992dce3cbfd1ca615
parent96332fd82cc1ec2f4162bf153e37a5b8c5fe9c3a
re PR target/49437 (interrupt return pop sometimes corrupts sp)

       PR target/49437
       * config/arm/arm.c (arm_output_epilogue): Properly handle epilogue
       when stack was realigned in interrupt handler prologue.

testsuite:

       PR target/49437
       * gcc.target/arm/handler-align.c: New test.
       * lib/target-supports.exp (check_effective_target_arm_cortex_m):
         New Function.

From-SVN: r177891
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/handler-align.c [new file with mode: 0644]
gcc/testsuite/lib/target-supports.exp