[LLVMbugs] [Bug 17375] function declared as returning value but not returning a value results in SIGILL when executed

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 25 22:06:17 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17375

David Blaikie <dblaikie at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dblaikie at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from David Blaikie <dblaikie at gmail.com> ---
Not returning from 'main' is a special case and is implicitly 'return 0'. Try
this with a function other than main and observe the warning.

-- 
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/20130926/9a7a6230/attachment.html>


More information about the llvm-bugs mailing list