non-local-goto-5.c: Fix for targets with no trampolines.
authorMike Stump <mikestump@comcast.net>
Thu, 7 Apr 2011 20:55:01 +0000 (20:55 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Thu, 7 Apr 2011 20:55:01 +0000 (20:55 +0000)
* gcc.dg/torture/stackalign/non-local-goto-5.c: Fix for targets
with no trampolines.

From-SVN: r172127

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/stackalign/non-local-goto-5.c

index 01b95ae6454cee75911a18744f4285da1fca13b2..1e572c7f776430707bbe4de052829e1eb8eab10a 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-07  Mike Stump  <mikestump@comcast.net>
+
+       * gcc.dg/torture/stackalign/non-local-goto-5.c: Fix for targets
+       with no trampolines.
+
 2011-04-07  Jakub Jelinek  <jakub@redhat.com>
 
        PR fortran/48117
index 08ca95d765cf9be5f46c79c3f5eebda95a446f8e..d198c9a97f9ef22f4d9d33e4a6b0b5c645fa2dd1 100644 (file)
@@ -1,8 +1,8 @@
 /* { dg-do run } */
 
+extern void exit (int);
 #if !defined (NO_LABEL_VALUES) && !defined (NO_TRAMPOLINES)
 extern void abort (void);
-extern void exit (int);
 int s(i){if(i>0){__label__ l1;int f(int i){if(i==2)goto l1;return 0;}return f(i);l1:;}return 1;}
 int x(){return s(0)==1&&s(1)==0&&s(2)==1;}
 int main(){if(x()!=1)abort();exit(0);}