This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/46912] [4.6 Regression] Test failures for g++.dg/plugin/*plugin*.C on powerpc-apple-darwin9


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]