lkml.org 
[lkml]   [1998]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Strange code in 2.0.pre35 - apricot.c
Date
From
>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    [W:2.042 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site