This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][Revised] skip tests using alias on Mach-O and COFF


  Currently on hosts like Mach-O or COFF which lack alias support in
their object files, the following test cases are failing...

FAIL: gcc.c-torture/compile/pr44197.c  -O0  (test for excess errors)
FAIL: gcc.c-torture/compile/pr44197.c  -O1  (test for excess errors)
FAIL: gcc.c-torture/compile/pr44197.c  -O2  (test for excess errors)
FAIL: gcc.c-torture/compile/pr44197.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.c-torture/compile/pr44197.c  -O3 -g  (test for excess errors)
FAIL: gcc.c-torture/compile/pr44197.c  -Os  (test for excess errors)
FAIL: gcc.c-torture/compile/pr44197.c  -O2 -flto  (test for excess errors)
FAIL: gcc.c-torture/compile/pr44197.c  -O2 -fwhopr  (test for excess errors)
FAIL: gcc.dg/lto/20081222 c_lto_20081222_1.o assemble, -O0 -fwhopr
UNRESOLVED: gcc.dg/lto/20081222 c_lto_20081222_0.o-c_lto_20081222_1.o link -O0 -fwhopr
UNRESOLVED: gcc.dg/lto/20081222 c_lto_20081222_0.o-c_lto_20081222_1.o execute -O0 -fwhopr
FAIL: gcc.dg/lto/20081222 c_lto_20081222_1.o assemble, -O2 -fwhopr
UNRESOLVED: gcc.dg/lto/20081222 c_lto_20081222_0.o-c_lto_20081222_1.o link -O2 -fwhopr
UNRESOLVED: gcc.dg/lto/20081222 c_lto_20081222_0.o-c_lto_20081222_1.o execute -O2 -fwhopr
FAIL: gcc.dg/lto/20081222 c_lto_20081222_1.o assemble, -O0 -flto
UNRESOLVED: gcc.dg/lto/20081222 c_lto_20081222_0.o-c_lto_20081222_1.o link -O0 -flto
UNRESOLVED: gcc.dg/lto/20081222 c_lto_20081222_0.o-c_lto_20081222_1.o execute -O0 -flto
FAIL: gcc.dg/lto/20081222 c_lto_20081222_1.o assemble, -O2 -flto
UNRESOLVED: gcc.dg/lto/20081222 c_lto_20081222_0.o-c_lto_20081222_1.o link -O2 -flto
UNRESOLVED: gcc.dg/lto/20081222 c_lto_20081222_0.o-c_lto_20081222_1.o execute -O2 -flto

These tests should require alias support. Tested on x86_64-apple-darwin10.
Okay for gcc trunk?
                     Jack


2010-05-24  Iain Sandoe  <iains@gcc.gnu.org>
	    Jack Howarth <howarth@bromo.med.uc.edu>

        * gcc.c-torture/compile/pr44197.c: Require alias support.
        * gcc.dg/lto/20081222_1.c: Same.


Index: testsuite/gcc.c-torture/compile/pr44197.c
===================================================================
--- testsuite/gcc.c-torture/compile/pr44197.c	(revision 159800)
+++ testsuite/gcc.c-torture/compile/pr44197.c	(working copy)
@@ -1,3 +1,4 @@
+/* { dg-require-alias "" } */
 typedef unsigned short int __uint16_t;
 enum
 {
Index: testsuite/gcc.dg/lto/20081222_0.c
===================================================================
--- testsuite/gcc.dg/lto/20081222_0.c	(revision 159800)
+++ testsuite/gcc.dg/lto/20081222_0.c	(working copy)
@@ -1,3 +1,4 @@
+/* { dg-require-alias "" } */
 #include "20081222_0.h"
 
 extern void abort (void);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]