[Bug target/49437] interrupt return pop sometimes corrupts sp

jye2 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 19 11:06:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49437

--- Comment #4 from jye2 at gcc dot gnu.org 2011-09-19 09:03:35 UTC ---
Author: jye2
Date: Mon Sep 19 09:03:29 2011
New Revision: 178963

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178963
Log:
2011-09-19  Joey Ye  <joey.ye@arm.com>

    Backport r177891 from mainline
    2011-08-19 Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>

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

testsuite:

    2011-08-19 Joey Ye  <joey.ye@arm.com>
    PR target/49437
    * gcc.target/arm/handler-align.c: New test.
    * lib/target-supports.exp (check_effective_target_arm_cortex_m):
    New Function.

2011-09-19  Joey Ye  <joey.ye@arm.com>

    Backport r177890 from mainline
    2011-08-19  Joey Ye  <joey.ye@arm.com>

    * gcc.c-torture/execute/20101011-1.c (DO_TEST): Skip on ARM.


Added:
    branches/ARM/embedded-4_6-branch/gcc/testsuite/ChangeLog.arm
    branches/ARM/embedded-4_6-branch/gcc/testsuite/gcc.dg/torture/pr49169.c
   
branches/ARM/embedded-4_6-branch/gcc/testsuite/gcc.target/arm/handler-align.c
    branches/ARM/embedded-4_6-branch/gcc/testsuite/gcc.target/arm/pr46934.c
Modified:
    branches/ARM/embedded-4_6-branch/gcc/ChangeLog.arm
    branches/ARM/embedded-4_6-branch/gcc/config/arm/arm.c
   
branches/ARM/embedded-4_6-branch/gcc/testsuite/gcc.c-torture/execute/20101011-1.c
    branches/ARM/embedded-4_6-branch/gcc/testsuite/lib/target-supports.exp



More information about the Gcc-bugs mailing list