[LLVMbugs] [Bug 16047] Use of unspecified value wrongly optimized to undefined behavior.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 10 05:04:55 PDT 2014


Patrik Hägglund <patrik.h.hagglund at ericsson.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Patrik Hägglund <patrik.h.hagglund at ericsson.com> ---
The C standard defect report #451 is related to this issue. The committe have
now answered defect report #451,
http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_451.htm, and is seems like
LLVM/Clang will (in a future revision of the standard) be safe, doing this kind
of optimizations. The answer suggests introducing a notion of "wobbly" values,
that I think this will apply in this case. Therefore, I close this issue for

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141010/541ac6ed/attachment.html>

More information about the llvm-bugs mailing list