public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug objc/45989] Some objc.dg-struct-layout-encoding-1 tests XPASS
Date: Wed, 22 Dec 2010 15:47:00 -0000	[thread overview]
Message-ID: <bug-45989-4-4LmgzXgQ2h@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-45989-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45989

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kkojima at rr dot
                   |                            |iij4u.or.jp,
                   |                            |schwab@linux-m68k.org

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-12-22 15:47:33 UTC ---
t025 to t031 XPASS also on

sh4-unknown-linux-gnu (default) see
http://gcc.gnu.org/ml/gcc-testresults/2010-12/msg01979.html

ia64-suse-linux-gnu (default) see
http://gcc.gnu.org/ml/gcc-testresults/2010-12/msg01903.html

On powerpc-apple-darwin9 and -m32 only t026, t030, and t031 XPASS, see
http://gcc.gnu.org/ml/gcc-testresults/2010-12/msg01959.html

I have tested on powerpc-apple-darwin9 and x86_64-apple-darwin10 the following
more general patch:

---
/opt/gcc/_gcc_clean/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c
   2010-12-13 10:50:10.000000000 +0100
+++
/opt/gcc/gcc-4.6-work/gcc/testsuite/objc.dg/gnu-encoding/struct-layout-encoding-1_generate.c
   2010-12-22 14:47:33.000000000 +0100
@@ -243,10 +243,16 @@ switchfiles (int fields)
      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)
+  else if (filecnt == 25 || (filecnt >= 27 && filecnt <= 29))
     {
       fprintf (outfile, "\
-/* { dg-do run { xfail *-*-* } } */\n\
+/* { dg-do run { xfail { *86*-*-* || { powerpc*-apple-darwin* && ilp32 } } } }
*/\n\
+/* { dg-options \"-w -I%s -fgnu-runtime\" } */\n", srcdir);
+    }
+  else if (filecnt >= 30)
+    {
+      fprintf (outfile, "\
+/* { dg-do run { xfail *86*-*-* } } */\n\
 /* { dg-options \"-w -I%s -fgnu-runtime\" } */\n", srcdir);
     }
   else

It should work on all the platforms listed above, could you test it?


  parent reply	other threads:[~2010-12-22 15:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-12 18:11 [Bug objc/45989] New: " ro at gcc dot gnu.org
2010-11-23 10:01 ` [Bug objc/45989] " nicola at gcc dot gnu.org
2010-12-21 18:21 ` dominiq at lps dot ens.fr
2010-12-22 15:47 ` dominiq at lps dot ens.fr [this message]
2011-01-05 14:05 ` dominiq at lps dot ens.fr
2011-01-05 19:17 ` ro at gcc dot gnu.org
2011-01-05 19:31 ` ro at gcc dot gnu.org
2011-01-05 22:51 ` dominiq at lps dot ens.fr
2011-01-07 19:39 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-01-09 12:34 ` dominiq at lps dot ens.fr
2011-01-14 17:37 ` ro at gcc dot gnu.org
2011-01-14 18:55 ` ro at gcc dot gnu.org
2011-01-14 19:05 ` ro at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-45989-4-4LmgzXgQ2h@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).