darwin.c (darwin_one_byte_bool): New global variable.
authorMatt Austern <austern@apple.com>
Wed, 28 Jul 2004 23:57:28 +0000 (23:57 +0000)
committerMatt Austern <austern@gcc.gnu.org>
Wed, 28 Jul 2004 23:57:28 +0000 (23:57 +0000)
commit8f4220dc9270f29f40fe5d7f3647eaa10511934b
tree7316f0b087b8604c3dce7b83450841f30b955588
parent9f63daea379c0d0c8a30b8f6ea6d8dc6c4ffa415
darwin.c (darwin_one_byte_bool): New global variable.

        * config/darwin.c (darwin_one_byte_bool): New global variable.
        * config/darwin.h (darwin_one_byte_bool): Declare.
        (SUBTARGET_OPTIONS): Define macro.  (for -mone-byte-bool flag.)
        * config/rs6000/darwin.h (BOOL_TYPE_SIZE): Conditionalize on
        value of darwin_one_byte_bool.
        * doc/invoke.texi: Document -mone-byte-bool flag.
        * testsuite/gcc.dg/darwin-bool-1.c: New test.
        * testsuite/gcc.dg/darwin-bool-2.c: New test.

From-SVN: r85277
gcc/ChangeLog
gcc/config/darwin.c
gcc/config/darwin.h
gcc/config/rs6000/darwin.h
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/darwin-bool-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/darwin-bool-2.c [new file with mode: 0644]