[LLVMbugs] [Bug 13234] New: Crashes when member pointer comparison is not supported by the current ABI

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 28 18:04:38 PDT 2012


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

             Bug #: 13234
           Summary: Crashes when member pointer comparison is not
                    supported by the current ABI
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: timurrrr at google.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


As of r159296,
$ cat test.cpp
class C {};

void bar(void (C::*method)()) {
  if (method != 0) {}
}

$ clang++ -Xclang -cxx-abi -Xclang microsoft test.cpp
Assertion failed: Idx < getNumArgs() && "Argument index out of range!", file
C:\src\llvm\tools\clang\include\clang/Basic/Diagnostic.h, line 1034
clang++: error: clang frontend command failed with exit code 3 (use -v to see
invocation)

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