diff options
author | jkratoch <jkratoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-25 18:05:37 +0000 |
---|---|---|
committer | jkratoch <jkratoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-25 18:05:37 +0000 |
commit | cdd0bb4bde4f6885045e65860de0320ccf6b23f6 (patch) | |
tree | 1aa599e5471722eac22c8d3e11ec5a6fc3e2af51 /libcpp | |
parent | a59bc27b396d46757e6f4ceae4d1bd1e438d610c (diff) | |
download | gcc-cdd0bb4bde4f6885045e65860de0320ccf6b23f6.tar.gz |
include/
* 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
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 4 | ||||
-rw-r--r-- | libcpp/system.h | 9 |
2 files changed, 4 insertions, 9 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 26013027b69..d287d127e80 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -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 diff --git a/libcpp/system.h b/libcpp/system.h index 5bdfeeda018..aa458fca39b 100644 --- a/libcpp/system.h +++ b/libcpp/system.h @@ -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 |