[LLVMbugs] [Bug 7085] New: is_convertible miscompile in boost

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 7 03:47:31 PDT 2010


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: unassignedclangbugs at nondot.org
        ReportedBy: chris at bubblescope.net
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


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.



More information about the llvm-bugs mailing list