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][arm] avoid stack corruption


On 6/19/07, Richard Earnshaw <Richard.Earnshaw@arm.com> wrote:
On Tue, 2007-06-19 at 01:02 -0700, Seongbae Park (박성배, 朴成培) wrote:
> Ok for mainline and for 4.2 and 4.1 branches ?
>
> gcc/ChangeLog:
>
> 2007-04-19  Seongbae Park  <seongbae.park@gmail.com>
>
>         * config/arm/arm.c (arm_get_frame_offsets): Set
>         offsets->locals_base to avoid negative stack size.
>         (thumb1_expand_prologue): Assert on negative stack size.
>
> gcc/testsuite/ChangeLog:
>
> 2007-04-19  Seongbae Park  <seongbae.park@gmail.com>
>
>          * gcc.target/arm/stack-corruption.c: New test.

OK everywhere.

If there's a PR for this defect, please include it in the ChangeLog.

R.

Thanks for the quick review. No PR has been filed, so I just committed it as revision 125856. I'll wait for a few days, and backport it to 4.1 and 4.2. -- #pragma ident "Seongbae Park, compiler, http://seongbae.blogspot.com";

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