[LLVMbugs] [Bug 17123] New: Error in <type_traits> is_trivially_copyable

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 6 09:20:21 PDT 2013


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

            Bug ID: 17123
           Summary: Error in <type_traits> is_trivially_copyable
           Product: libc++
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: hhinnant at apple.com
          Reporter: webrown.cpp at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

According to [basic.types]/9 of the Working Paper:
"Scalar types, trivially copyable class types (Clause 9), arrays of such types,
and non-volatile const-qualified versions of these types (3.9.3) are
collectively called trivially copyable types."

(1) The clang compiler intrinsic __is_trivially_copyable(T) should answer false
for volatile-qualified types.

(2) The libc++ test suite should catch (1) but is failing to do so.

-- 
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/20130906/df40af6c/attachment.html>


More information about the llvm-bugs mailing list