mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-15 02:50:22 +08:00
fibheap.h (fibnode): Use __extension__ for bit-fields mark and degree if __GNUC__.
* include/fibheap.h (fibnode): Use __extension__ for bit-fields mark and degree if __GNUC__. From-SVN: r74836
This commit is contained in:
parent
e8c89d2970
commit
7dff81909b
@ -1,3 +1,8 @@
|
||||
2003-12-19 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
* include/fibheap.h (fibnode): Use __extension__ for
|
||||
bit-fields mark and degree if __GNUC__.
|
||||
|
||||
2003-12-18 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* include/fibheap.h (fibnode): Use unsigned long int for
|
||||
|
@ -60,8 +60,8 @@ typedef struct fibnode
|
||||
fibheapkey_t key;
|
||||
void *data;
|
||||
#ifdef __GNUC__
|
||||
unsigned long int degree : 31;
|
||||
unsigned long int mark : 1;
|
||||
__extension__ unsigned long int degree : 31;
|
||||
__extension__ unsigned long int mark : 1;
|
||||
#else
|
||||
unsigned int degree : 31;
|
||||
unsigned int mark : 1;
|
||||
|
Loading…
Reference in New Issue
Block a user