Re: Strange code in 2.0.pre35 - apricot.c

Philip Blundell (philb@gnu.org)
Sun, 12 Jul 1998 11:13:19 +0100


>The 'hold' variable is needed in both cases to prevent the optimizer
>from dropping the first clause, because some compilers don't
>understand 'volatile' as meaning that seemingly ineffectual reads
>shouldn't be dropped. Borland was notorious for this.

GCC does get that right, though.

p.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html