aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDominique d'Humieres <dominiq@lps.ens.fr>2011-01-14 19:47:50 +0100
committerRainer Orth <ro@gcc.gnu.org>2011-01-14 18:47:50 +0000
commit5ebe1114f9ef33e1112da8a8fb30749b208f6205 (patch)
treea575c42bc24e23812561b22a3171fd65e6e682ae /gcc
parent34830bfdfe96f3105b01f569610498fd44896b3e (diff)
downloadgcc-5ebe1114f9ef33e1112da8a8fb30749b208f6205.zip
gcc-5ebe1114f9ef33e1112da8a8fb30749b208f6205.tar.gz
gcc-5ebe1114f9ef33e1112da8a8fb30749b208f6205.tar.bz2
re PR objc/45989 (Some objc.dg-struct-layout-encoding-1 tests XPASS)
2011-01-08 Dominique d'Humieres <dominiq@lps.ens.fr> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> PR objc/45989 * objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c (switchfiles): XFAIL objc.dg-struct-layout-encoding-1/t02[57-9]_main.m execution tests on i?86-*-*, x86_64-*-*, and powerpc*-apple-darwin* && ilp32. XFAIL objc.dg-struct-layout-encoding-1/t03[01]_main.m execution tests on i?86-*-* and x86_64-*-*. Co-Authored-By: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> From-SVN: r168806
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog11
-rw-r--r--gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c16
2 files changed, 22 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ed36768..b5cbdf5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,14 @@
+2011-01-08 Dominique d'Humieres <dominiq@lps.ens.fr>
+ Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR objc/45989
+ * objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c
+ (switchfiles): XFAIL
+ objc.dg-struct-layout-encoding-1/t02[57-9]_main.m execution tests
+ on i?86-*-*, x86_64-*-*, and powerpc*-apple-darwin* && ilp32.
+ XFAIL objc.dg-struct-layout-encoding-1/t03[01]_main.m execution
+ tests on i?86-*-* and x86_64-*-*.
+
2011-01-14 Richard Guenther <rguenther@suse.de>
PR tree-optimization/47280
diff --git a/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c b/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c
index 3bb7d65..7494131 100644
--- a/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c
+++ b/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c
@@ -1,5 +1,5 @@
/* Structure layout test generator.
- Copyright (C) 2004, 2005, 2007, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2007, 2010, 2011 Free Software Foundation, Inc.
Contributed by Jakub Jelinek <jakub@redhat.com>.
This file is part of GCC.
@@ -236,17 +236,23 @@ switchfiles (int fields)
|| filecnt == 22)
{
fprintf (outfile, "\
-/* { dg-do run { xfail { \"powerpc*-*-aix*\" } } } */\n\
+/* { dg-do run { xfail { powerpc*-*-aix* } } } */\n\
/* { dg-options \"-w -I%s -fgnu-runtime\" } */\n", srcdir);
}
/* FIXME: these should not be xfailed but they are because
of bugs in libobjc and the objc front-end. 25 is because
vectors are not encoded. The rest are because or zero sized
- arrays are encoded as pointers. */
- else if (filecnt >= 25)
+ arrays are encoded as pointers. See PR objc/25361. */
+ else if (filecnt == 25 || (filecnt >= 27 && filecnt <= 29))
{
fprintf (outfile, "\
-/* { dg-do run { xfail *-*-* } } */\n\
+/* { dg-do run { xfail { { i?86-*-* x86_64-*-* } || { powerpc*-apple-darwin* && ilp32 } } } } */\n\
+/* { dg-options \"-w -I%s -fgnu-runtime\" } */\n", srcdir);
+ }
+ else if (filecnt >= 30)
+ {
+ fprintf (outfile, "\
+/* { dg-do run { xfail { i?86-*-* x86_64-*-* } } } */\n\
/* { dg-options \"-w -I%s -fgnu-runtime\" } */\n", srcdir);
}
else