Re: Internal compiler error in 2.4.5 (hacky workaround)

From: Arjan van de Ven (arjanv@redhat.com)
Date: Tue Feb 12 2002 - 04:47:55 EST


Pavel Machek wrote:
>
> Hi!
>
> This makes gcc survive... adding volatile everywhere ;-).
>
> int blk_ioctl(volatile kdev_t dev, volatile unsigned int cmd, volatile
> unsigned long arg)
> {
> volatile request_queue_t *q;
> volatile struct gendisk *g;
> volatile u64 ullval = 0;
> volatile int intval, *iptr;
> volatile unsigned short usval;

For 2.4 I can see such a workaround being accepted; however for 2.5 I
would say
to keep the code clean of such things and rather get the compiler fixed
(or the
specific version depricated).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:48 EST