[LLVMbugs] [Bug 18296] Illegal code generated on end of bool function with missing return

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 20 15:53:27 PST 2013


Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |rnk at google.com
         Resolution|---                         |INVALID

--- Comment #1 from Reid Kleckner <rnk at google.com> ---
This is working as intended.  Clang is in fact being nice and failing loudly by
emitting a ud2 to crash your program at -O0.  At higher optimizations, we'll
remove it, and you'll probably start executing code from the next function.

I thought this had been filed before, but I can't find it in the tracker to dup

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/20131220/c1edd9b7/attachment.html>

More information about the llvm-bugs mailing list