svn commit: r241373 - head/lib/libc/stdlib
Eitan Adler
eadler at freebsd.org
Tue Oct 9 22:07:36 UTC 2012
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.
>
>> 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
More information about the svn-src-head
mailing list