This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/46912] [4.6 Regression] Test failures for g++.dg/plugin/*plugin*.C on powerpc-apple-darwin9
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Dec 2010 21:45:30 +0000
- Subject: [Bug testsuite/46912] [4.6 Regression] Test failures for g++.dg/plugin/*plugin*.C on powerpc-apple-darwin9
- Auto-submitted: auto-generated
- References: <bug-46912-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46912
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mrs at gcc dot gnu.org
--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> 2010-12-14 21:45:13 UTC ---
it's all fall-out from the different assumed sizes of Bool (see also 46902).
I think (subject to Mike's agreement) that, since Darwin's <stdbool.h> does not
set bool to int for GCC > 3 ... that we should default to one byte bools on PPC
darwin (there is no effect on x86).
Index: gcc/config/darwin.opt
===================================================================
--- gcc/config/darwin.opt (revision 167812)
+++ gcc/config/darwin.opt (working copy)
@@ -166,7 +166,7 @@ Target Joined Report Var(darwin_macosx_version_min
The earliest MacOS X version on which this program will run
mone-byte-bool
-Target RejectNegative Report Var(darwin_one_byte_bool)
+Target RejectNegative Report Var(darwin_one_byte_bool) Init(1)
Set sizeof(bool) to 1
fapple-kext