From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17619 invoked by alias); 3 Jan 2011 21:54:56 -0000 Received: (qmail 17610 invoked by uid 22791); 3 Jan 2011 21:54:56 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Mon, 03 Jan 2011 21:54:52 +0000 From: "iains at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/46912] [4.6 Regression] Test failures for g++.dg/plugin/*plugin*.C on powerpc-apple-darwin9 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iains at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.0 X-Bugzilla-Changed-Fields: 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: Mon, 03 Jan 2011 21:54: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: 2011-01/txt/msg00220.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46912 --- Comment #8 from Iain Sandoe 2011-01-03 21:54:37 UTC --- (In reply to comment #7) > (In reply to comment #5) > > On Dec 16, 2010, at 2:06 PM, iains at gcc dot gnu.org wrote: > > > gcc/system.h : > > > > > # define bool unsigned char > > > > This is wrong. The solution is simple: > > > > #define bool _Bool > > > > on darwin. Arguably, this is correct for every non-broken system as well. > > We can't rely on GCC or C99 support. The correct fix is to define > bool to unsigned int for darwin then (and pay the space efficience loss > price). it is fixed by http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01361.html which either needs a global reviewer, or declaring to be obvious (Mike Stump reviewed at http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01425.html)