[LLVMbugs] [Bug 20716] New: Crash when recovering from type in known dependent base (ms-compatibility)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 20 16:51:52 PDT 2014


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

            Bug ID: 20716
           Summary: Crash when recovering from type in known dependent
                    base (ms-compatibility)
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: popizdeh at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This is a reduced test case from ATL's CRowset and CAccessorRowset:

template <class T>
struct A
{
  void foo() {}
};

template <template <typename T> class C>
struct B : public C<int>
{
  void bar() {
    foo();
  }
};

int main() {
  B<A> b;
  b.bar();
}

command used: clang -cc1 -fms-compatibility -fsyntax-only test.cpp

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140820/e3bc8628/attachment.html>


More information about the llvm-bugs mailing list