[LLVMbugs] [Bug 13784] New: Invalid code accepted?

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 6 11:47:20 PDT 2012


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

             Bug #: 13784
           Summary: Invalid code accepted?
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: pipping at exherbo.org
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9173
  --> http://llvm.org/bugs/attachment.cgi?id=9173
code in question (invalid?)

The code I've attached is rejected by gcc 4.6 but accepted by clang.

Running it yields the error.

pure virtual method called
terminate called without an active exception

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