rs6000.c (rs6000_override_options): Make 64-bit Darwin default to one-byte bools.
authorStan Shebs <shebs@apple.com>
Fri, 3 Dec 2004 06:35:49 +0000 (06:35 +0000)
committerStan Shebs <shebs@gcc.gnu.org>
Fri, 3 Dec 2004 06:35:49 +0000 (06:35 +0000)
        * config/rs6000/rs6000.c (rs6000_override_options): Make 64-bit
        Darwin default to one-byte bools.

From-SVN: r91675

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index b88b821ea2e0ee1b1d2979f26c804864e05776c4..42c3c2009cda9c16e107add233b90e2554e5f271 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-02  Stan Shebs  <shebs@apple.com>
+
+       * config/rs6000/rs6000.c (rs6000_override_options): Make 64-bit
+       Darwin default to one-byte bools.
+
 2004-12-02  Richard Henderson  <rth@redhat.com>
 
        PR 18774
index da781605f27b69168638519c723e22db91623b16..807f5535faf2856a3bbc24e109fe51477a88c5f0 100644 (file)
@@ -1302,6 +1302,8 @@ rs6000_override_options (const char *default_cpu)
   if (DEFAULT_ABI == ABI_DARWIN && TARGET_64BIT)
     {
       rs6000_darwin64_abi = 1;
+      /* Setting to empty string is same as "-mone-byte-bool".  */
+      darwin_one_byte_bool = "";
     }
 
   /* Handle -mabi= options.  */