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]

Re: [PATCH] fibheap.h __extension__ for GNUC


Andreas Tobler <toa@pop.agri.ch> writes:

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

I consider it also as obvious and would suggest to commit it.  IF it's
wrong, the person responsible for this breakage can clean it up ;-)

Thanks,
Andreas

> 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;
>
>

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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