summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-19 14:37:36 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-19 14:37:36 +0000
commit199a2f4e1d13dd444cd36e111b4d98b8fc74b1ee (patch)
treec3a0bfe928f743ff3abc8554f53f8160c4cecd57 /include
parent754355026012435084d70a4f074eea9c1774805f (diff)
downloadgcc-199a2f4e1d13dd444cd36e111b4d98b8fc74b1ee.tar.gz
* include/fibheap.h (fibnode): Use __extension__ for
bit-fields mark and degree if __GNUC__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74836 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/fibheap.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 2ac7cecb71d..69db5b765e1 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -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
diff --git a/include/fibheap.h b/include/fibheap.h
index addef19db95..4eebaf13ba6 100644
--- a/include/fibheap.h
+++ b/include/fibheap.h
@@ -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;