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 01b95ae..1e572c7 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 08ca95d..d198c9a 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);}