]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
bfin.c (bfin_expand_prologue): Honour no_stack_limit attribute.
authorBernd Schmidt <bernd.schmidt@analog.com>
Wed, 3 Sep 2008 09:32:18 +0000 (09:32 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 3 Sep 2008 09:32:18 +0000 (09:32 +0000)
* config/bfin/bfin.c (bfin_expand_prologue): Honour no_stack_limit
attribute.

From-SVN: r139928

gcc/ChangeLog
gcc/config/bfin/bfin.c

index 6bf89c05c0e1abdb225241aaa94272c0cbaf36f2..66de90a20e480475415c0ffb219451705e6a5c03 100644 (file)
@@ -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
index 6ff1093de8cc81e2484ec315e77322c3aa22bd91..10bbfce87ffef995002715164ea02d52ff829bbd 100644 (file)
@@ -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,