[llvm-bugs] [Bug 27538] Some type_traits return incorrect values when used by gcc

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 29 02:01:33 PDT 2016


Eric Fiselier <eric at efcs.ca> changed:

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

--- Comment #3 from Eric Fiselier <eric at efcs.ca> ---
So the "std::is_trivally_*" traits require compiler support. libc++ tries it's
best to emulate the traits when the builtin's aren't available, but it's less
than perfect.

The provided reproducer works for *all* GCC versions with the builtin's (GCC >=
5.1) and only fails for older GCC versions (or older libc++ versions).
Unfortunately there isn't much I can do about that.

I'm closing this bug as "INVALID" since it works for ToT libc++ + new GCC.
Please reopen this if you disagree.

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/20160429/42900043/attachment-0001.html>

More information about the llvm-bugs mailing list