lkml.org 
[lkml]   [1998]   [Jul]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Strange code in 2.0.pre35 - apricot.c
DateSun, 12 Jul 1998 11:13:19 +0100
FromPhilip Blundell <>
>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

\
 
 \ /
  Last update: 2005-03-22 13:43    [from the cache]
©2003-2008