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 <[email protected]>
* gcc.c-torture/execute/20010129-1.c: Fix typo in -mtune.
(abort, exit): Declare.
# 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)
{
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University