This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] fibheap.h __extension__ for GNUC


Hi,

this one cures the bootstrap on ppclinux for me. According to Andrew Pinski it is an obvious one.

Ok, to ci?

Andreas

2003-12-19 Andreas Tobler <a.tobler@schweiz.ch>

	* include/fibheap.h (fibnode): Use __extension__ for
	bit-fields mark and degree if __GNUC__.

Index: fibheap.h
===================================================================
RCS file: /cvs/gcc/gcc/include/fibheap.h,v
retrieving revision 1.6
diff -u -r1.6 fibheap.h
--- fibheap.h   19 Dec 2003 03:17:40 -0000      1.6
+++ fibheap.h   19 Dec 2003 06:33:42 -0000
@@ -60,8 +60,8 @@
   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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]