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

Reid Kleckner <[email protected]> changed:

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

--- Comment #2 from Reid Kleckner <[email protected]> ---
This is an as-yet unsupported aspect of MS inline assembly documented here:
http://msdn.microsoft.com/en-us/library/5sds75we.aspx

MSVC will generate a return sequence for you after inline assembly, even if you
failed to return a value.  Clang on the other hand will warn with -Wreturn-type
and transform it to unreachable, because failing to return a value from a
function with a non-void return type is UB.  When we add this behavior quirk to
Clang we can make -Wreturn-type quieter.

*** This bug has been marked as a duplicate of bug 17201 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to