]> git.ipfire.org Git - thirdparty/gcc.git/commit
arm.c (arm_get_frame_offsets): Set offsets->locals_base to avoid negative stack size.
authorSeongbae Park <seongbae.park@gmail.com>
Tue, 19 Jun 2007 18:47:09 +0000 (18:47 +0000)
committerSeongbae Park <spark@gcc.gnu.org>
Tue, 19 Jun 2007 18:47:09 +0000 (18:47 +0000)
commita3a531ecfec77a9b0f30e1bce0c529c543aae332
tree0ee8114b163c618f431defbc6de864561b2819a6
parent0f7c07751c7b29ab1e795bc26ff2b5159a945163
arm.c (arm_get_frame_offsets): Set offsets->locals_base to avoid negative stack size.

gcc/ChangeLog:

2007-06-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-06-19  Seongbae Park  <seongbae.park@gmail.com>

* gcc.target/arm/stack-corruption.c: New test.

From-SVN: r125856
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/stack-corruption.c [new file with mode: 0644]