octeon-bbit-3.c: Change the second call to abort to call abort1 so that cross jumping does not...

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
This commit is contained in:
Andrew Pinski 2012-11-03 19:22:08 +00:00 committed by Andrew Pinski
parent 2588b26e0e
commit bd7a7ec8fa
2 changed files with 7 additions and 1 deletions

View 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

View 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);
}