[LLVMbugs] [Bug 9572] New: Crash on invalid base class

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 27 18:23:55 PDT 2011


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

           Summary: Crash on invalid base class
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: ASSIGNED
          Keywords: crash-on-invalid
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: matthewbg at google.com
        ReportedBy: matthewbg at google.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


class Test {
  virtual ~Test();
};
struct Foo : public Test {
  const int kBlah = 3;
  Foo();
};
struct Bar : public Foo {
  Bar() { }
};

Eventually segfaults after "LookupDestructor(BaseClassDecl)" returns NULL in
Sema::MarkBaseAndMemberDestructorsReferenced. Patch forthcoming.

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