[LLVMbugs] [Bug 7903] New: clang c++ infinite loop with recursive instantiation of virtual method

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 14 18:48:50 PDT 2010


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

           Summary: clang c++ infinite loop with recursive instantiation
                    of virtual method
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Testcase (from gcc testsuite):
template <class T> struct inner {};
template <class T> struct parent {
  virtual void f() { parent<inner<T> > p; };
};
template struct parent<int>;

This loops forever in the while(1) in Sema::ActOnEndOfTranslationUnit.

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