[LLVMbugs] [Bug 16757] Clang optimized out two break statement from a while loop

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 30 15:45:33 PDT 2013


Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Falling off the end of a value-returning function without returning a value has
undefined behavior in C++. Clang has optimized on this basis.

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/20130730/0332a24d/attachment.html>

More information about the llvm-bugs mailing list