From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27178 invoked by alias); 22 Dec 2010 15:47:57 -0000 Received: (qmail 27161 invoked by uid 22791); 22 Dec 2010 15:47:55 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BJ X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Dec 2010 15:47:51 +0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug objc/45989] Some objc.dg-struct-layout-encoding-1 tests XPASS X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 22 Dec 2010 15:47:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-12/txt/msg02499.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45989 Dominique d'Humieres changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkojima at rr dot | |iij4u.or.jp, | |schwab@linux-m68k.org --- Comment #3 from Dominique d'Humieres 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?