]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
include/
authorjkratoch <jkratoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Apr 2011 18:05:37 +0000 (18:05 +0000)
committerjkratoch <jkratoch@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Apr 2011 18:05:37 +0000 (18:05 +0000)
* ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.

contrib/
* paranoia.cc (ENUM_BITFIELD): Remove.

gcc/
* system.h (ENUM_BITFIELD): Remove.

libcpp/
* system.h (ENUM_BITFIELD): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172933 138bc75d-0d04-0410-961f-82ee72b054a4

contrib/ChangeLog
contrib/paranoia.cc
gcc/ChangeLog
gcc/system.h
include/ChangeLog
include/ansidecl.h
libcpp/ChangeLog
libcpp/system.h

index 8363e785c6745da7a2f6466bb6cd1417bcd71897..c6adbc87b10a66465214aa2efd187473597da08f 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * paranoia.cc (ENUM_BITFIELD): Remove.
+
 2011-04-08  Joseph Myers  <joseph@codesourcery.com>
 
        * gcc_update (gcc/config/arm/arm-tables.opt): New dependencies.
index ce21d3520caeddce2f6155a360677beda52c5a28..8e8500e23898dbcb290f60864a3729eba46bad4d 100644 (file)
@@ -169,7 +169,6 @@ lines
     };
 #undef DEFTREECODE
 
-#define ENUM_BITFIELD(X) enum X
 #define class klass
 
 #include "real.h"
index a115d78fddc39ec3e4ee860c3587f58ef54264bf..bc726797d340d2f721cf6f69e263e6b739f71dda 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * system.h (ENUM_BITFIELD): Remove.
+
 2011-04-25  Maxim Kuvyrkov  <maxim@codesourcery.com>
            Eric Botcazou <ebotcazou@adacore.com>
 
index 81daaf1320d6bed180e0fed3774f4e83f9f077ba..147801b5a47ced851cc9f38f34343c77f5ea59a9 100644 (file)
@@ -598,15 +598,6 @@ extern int vsnprintf(char *, size_t, const char *, va_list);
 #define HOST_BIT_BUCKET "/dev/null"
 #endif
 
-/* Be conservative and only use enum bitfields with GCC.
-   FIXME: provide a complete autoconf test for buggy enum bitfields.  */
-
-#if (GCC_VERSION > 2000)
-#define ENUM_BITFIELD(TYPE) __extension__ enum TYPE
-#else
-#define ENUM_BITFIELD(TYPE) unsigned int
-#endif
-
 #ifndef offsetof
 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER)
 #endif
index 4d05ba0c4bf44baed5828f7b9e040e931657439f..fcabfb8384c0c05e3c0fdd7aa35e14a12a2cca68 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.
+
 2011-03-31  Tristan Gingold  <gingold@adacore.com>
 
        * dwarf2.h (dwarf_line_number_hp_sfc_ops): New enum.
index 8b76647426bf9641c0b0c969efa23d2886831b8c..c39ce2f5d709ed3c5dc92f01bb0a5e5f7e996617 100644 (file)
@@ -416,6 +416,15 @@ So instead we use the macro below and test it against specific values.  */
 #define EXPORTED_CONST const
 #endif
 
+/* Be conservative and only use enum bitfields with GCC.
+   FIXME: provide a complete autoconf test for buggy enum bitfields.  */
+
+#if (GCC_VERSION > 2000)
+#define ENUM_BITFIELD(TYPE) __extension__ enum TYPE
+#else
+#define ENUM_BITFIELD(TYPE) unsigned int
+#endif
+
 #ifdef __cplusplus
 }
 #endif
index 26013027b691ccc66a8d0b1b49d7f00776eb5602..d287d127e8017999aff5dc3864f190b43b049a31 100644 (file)
@@ -1,3 +1,7 @@
+2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * system.h (ENUM_BITFIELD): Remove.
+
 2011-04-24  Jakub Jelinek  <jakub@redhat.com>
 
        PR preprocessor/48740
index 5bdfeeda018c5aea26e9eb5e665c66b3a95f0bc6..aa458fca39bb6d674f6ba81e69de6afe1636ab49 100644 (file)
@@ -357,15 +357,6 @@ extern void abort (void);
    || (__STDC_VERSION__ >= 199901L))
 #endif
 
-/* Be conservative and only use enum bitfields with GCC.
-   FIXME: provide a complete autoconf test for buggy enum bitfields.  */
-
-#if (GCC_VERSION > 2000)
-#define ENUM_BITFIELD(TYPE) __extension__ enum TYPE
-#else
-#define ENUM_BITFIELD(TYPE) unsigned int
-#endif
-
 #ifndef offsetof
 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER)
 #endif