This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] fibheap.h __extension__ for GNUC
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 19 Dec 2003 07:38:27 +0100
- Subject: [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;