diff mbox

[testsuite,i386] Fix typo in gcc.c-torture/execute/20010129-1.c

Message ID yddwq9nijwj.fsf@lokon.CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth Sept. 1, 2014, 12:51 p.m. UTC
The dg conversion of gcc.c-torture/execute (thanks alot for tackling
this, by the way) broke gcc.c-torture/execute/20010129-1.c on 32-bit
x86:

FAIL: gcc.c-torture/execute/20010129-1.c   -O0  (test for excess errors)
WARNING: gcc.c-torture/execute/20010129-1.c   -O0  compilation failed to produce executable

and many more.  Apart from the typo, it lacked abort and exit
declarations.

The following patch fixes this.  Tested with the appropriate runtest
invocation (both 32 and 64-bit) on i386-pc-solaris2.10, installed on
mainline.

	Rainer


2014-09-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.c-torture/execute/20010129-1.c: Fix typo in -mtune.
	(abort, exit): Declare.
diff mbox

Patch

# HG changeset patch
# Parent 579514a7c21d94b8969c276261a0c0d746d9a4bd
Fix typo in gcc.c-torture/execute/20010129-1.c

diff --git a/gcc/testsuite/gcc.c-torture/execute/20010129-1.c b/gcc/testsuite/gcc.c-torture/execute/20010129-1.c
--- a/gcc/testsuite/gcc.c-torture/execute/20010129-1.c
+++ b/gcc/testsuite/gcc.c-torture/execute/20010129-1.c
@@ -1,4 +1,7 @@ 
-/* { dg-options "-mtune-i686" { target { { i?86*-*-* } && ilp32 } } } */
+/* { dg-options "-mtune=i686" { target { { i?86*-*-* } && ilp32 } } } */
+
+extern void abort (void);
+extern void exit (int);
 
 long baz1 (void *a)
 {