]> gcc.gnu.org Git - gcc.git/commitdiff
fibheap.h (fibnode): Use unsigned long int for bit-fields if __GNUC__ is defined.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 19 Dec 2003 03:17:40 +0000 (03:17 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 19 Dec 2003 03:17:40 +0000 (03:17 +0000)
* include/fibheap.h (fibnode): Use unsigned long int for
bit-fields if __GNUC__ is defined.

From-SVN: r74817

include/ChangeLog
include/fibheap.h

index 049942f4ee37291dad9c16e1bbff99f213e919a8..2ac7cecb71d397a09c39b3538181d05c9c96ac6a 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * include/fibheap.h (fibnode): Use unsigned long int for
+       bit-fields if __GNUC__ is defined.
+
 2003-10-22  Joseph S. Myers  <jsm@polyomino.org.uk>
 
        * obstack.h: Merge the following change from gnulib:
index fc37f9ef635eb91b1366a17218046286786f851c..addef19db95cd40d901fc494e913cda41c7cfc19 100644 (file)
@@ -59,8 +59,13 @@ typedef struct fibnode
   struct fibnode *right;
   fibheapkey_t key;
   void *data;
+#ifdef __GNUC__
+  unsigned long int degree : 31;
+  unsigned long int mark : 1;
+#else
   unsigned int degree : 31;
   unsigned int mark : 1;
+#endif
 } *fibnode_t;
 
 extern fibheap_t fibheap_new PARAMS ((void));
This page took 0.061214 seconds and 5 git commands to generate.