svn commit: r241373 - head/lib/libc/stdlib

Eitan Adler eadler at freebsd.org
Tue Oct 9 22:10:19 UTC 2012


On 9 October 2012 18:06, Eitan Adler <eadler at freebsd.org> wrote:
> On 9 October 2012 17:25, Steve Kargl <sgk at 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.

For those interested in "volatile" you may also want to read:
www.cs.utah.edu/~regehr/papers/emsoft08-preprint.pdf


-- 
Eitan Adler
Source & Ports committer
X11, Bugbusting teams


More information about the svn-src-head mailing list