On 9 October 2012 17:25, Steve Kargl <s...@troutmask.apl.washington.edu> wrote:
... yes, I was misreading the text. > Clang has no way of determining if 'a' is initialized or not. > If David is correct that 'junk' is optimized out by clang/llvm, > then it seems that clang violates footnote 116. Yes, I know > it is non-normative text. Sorry if I was not clear: clang does *not* optimize away the volatile version. I removed it for other reasons. > >> I still don't like volatile though here for the other reasons >> mentioned. In general, the entire piece of code should be replaced >> with something that can't fail, so this is a moot point. > > Agreed. > > -- > Steve > -- Eitan Adler Source & Ports committer X11, Bugbusting teams _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"