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

           Summary: is_convertible miscompile in boost
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


Created an attachment (id=4859)
 --> (http://llvm.org/bugs/attachment.cgi?id=4859)
convertible testcase

The attached code is reduced from how boost::shared_ptr implements
is_convertible. This code does not correctly deal with converting between 'int'
to 'int const', and therefore fails to compile.

Both g++ and comeau accept the code as shown.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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