diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2008-09-03 09:32:18 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2008-09-03 09:32:18 +0000 |
commit | 3b62f0e14bdd2d1efb0d4bb6aac93d2a80ff75c0 (patch) | |
tree | aa30518477d3beaa47c62af91c26de428d18fd6d | |
parent | fea16f8128f9bf18b100c4dbdaed907d73258599 (diff) | |
download | gcc-3b62f0e14bdd2d1efb0d4bb6aac93d2a80ff75c0.zip gcc-3b62f0e14bdd2d1efb0d4bb6aac93d2a80ff75c0.tar.gz gcc-3b62f0e14bdd2d1efb0d4bb6aac93d2a80ff75c0.tar.bz2 |
bfin.c (bfin_expand_prologue): Honour no_stack_limit attribute.
* config/bfin/bfin.c (bfin_expand_prologue): Honour no_stack_limit
attribute.
From-SVN: r139928
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/bfin/bfin.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6bf89c0..66de90a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-09-03 Bernd Schmidt <bernd.schmidt@analog.com> + + * config/bfin/bfin.c (bfin_expand_prologue): Honour no_stack_limit + attributes. + 2008-09-03 Danny Smith <dannysmith@usrs.sourceforge.net> * gthr-win32.h (CONST_CAST2): Really make sure CONST_CAST2 is diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c index 6ff1093..10bbfce 100644 --- a/gcc/config/bfin/bfin.c +++ b/gcc/config/bfin/bfin.c @@ -1165,7 +1165,8 @@ bfin_expand_prologue (void) } if (crtl->limit_stack - || TARGET_STACK_CHECK_L1) + || (TARGET_STACK_CHECK_L1 + && !DECL_NO_LIMIT_STACK (current_function_decl))) { HOST_WIDE_INT offset = bfin_initial_elimination_offset (ARG_POINTER_REGNUM, |