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

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <[email protected]> ---
std::complex<T> is required to have the same *memory* representation as
_Complex T, but it is *not* required to have the same representation when used
as a return type.

The representations as return types differ on i386-linux-gnu, for instance
(_Complex float is returned in a pair of integer registers; std::complex<float>
is returned by sret). Clang's warning is correct and appropriate.

-- 
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