]> gcc.gnu.org Git - gcc.git/commitdiff
re PR objc/45989 (Some objc.dg-struct-layout-encoding-1 tests XPASS)
authorDominique d'Humieres <dominiq@lps.ens.fr>
Fri, 14 Jan 2011 18:47:50 +0000 (19:47 +0100)
committerRainer Orth <ro@gcc.gnu.org>
Fri, 14 Jan 2011 18:47:50 +0000 (18:47 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c

index ed3676813b4fc069bd408d616dc41f01650e94e5..b5cbdf5c02f909437e4e586db3d08b9eebaaa6ea 100644 (file)
@@ -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
index 3bb7d6529329731189cb6909c36ad55ff75b4e13..7494131c16ab4bc3a1b44284733222f97470f118 100644 (file)
@@ -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
This page took 0.069926 seconds and 5 git commands to generate.