[committed] Fix m68k testcase for c99
More fallout from the c99 conversion. The m68k specific test pr63347.c calls exit and abort without a prototype in scope. This patch turns them into __builtin calls avoiding the error. Bootstrapped and regression tested on m68k-linux-gnu, pushed to the trunk. gcc/testsuite * gcc.target/m68k/pr63347.c: Call __builtin_abort and __builtin_exit instead of abort and exit.
This commit is contained in:
parent
65e41f4fbf
commit
679adb2396
1 changed files with 3 additions and 3 deletions
|
@ -32,13 +32,13 @@ int main(int argc, char *argv[])
|
|||
myaddr = 0x0;
|
||||
ret = print_info(&myaddr);
|
||||
if (!ret)
|
||||
abort ();
|
||||
__builtin_abort ();
|
||||
|
||||
myaddr = 0x01020304;
|
||||
ret = print_info(&myaddr);
|
||||
if (ret)
|
||||
abort ();
|
||||
exit (0);
|
||||
__builtin_abort ();
|
||||
__builtin_exit (0);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue