octeon-bbit-3.c: Change the second call to abort to call abort1 so that cross jumping...
authorAndrew Pinski <apinski@cavium.com>
Sat, 3 Nov 2012 19:22:08 +0000 (19:22 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 3 Nov 2012 19:22:08 +0000 (12:22 -0700)
2012-11-03  Andrew Pinski  <apinski@cavium.com>

 * gcc.target/mips/octeon-bbit-3.c: Change the second call to abort to
call abort1 so that cross jumping does not happen.

From-SVN: r193125

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/octeon-bbit-3.c

index 2f5d1f77dba1b9bca3a097ae6feacc79b37fb303..cfccf7f60c6db6b598a88f2c744161d37b5fedaa 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-03  Andrew Pinski  <apinski@cavium.com>
+
+        * gcc.target/mips/octeon-bbit-3.c: Change the second call to abort to
+       call abort1 so that cross jumping does not happen.
+
 2012-11-03  Oleg Endo  <olegendo@gcc.gnu.org>
 
        PR target/51244
index 2726037bee1798a3396be43dcb2a8e94b03db859..7b73f43a1f45d55d6d908ebc861ae6f589e6d05d 100644 (file)
@@ -18,6 +18,7 @@
 /* { dg-final { scan-assembler-not "ext\t" } } */
 
 void abort (void);
+void abort1 (void);
 void exit (int);
 
 typedef unsigned long long ulong64;
@@ -39,7 +40,7 @@ f ()
   if (bar.a != 0x1)
     abort ();
   else if (!bar.c)
-    abort ();
+    abort1 ();
   else
     exit (0);
 }