[LLVMbugs] [Bug 9678] New: clang hang via infinite series of operator-> calls

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 11 10:06:11 PDT 2011


           Summary: clang hang via infinite series of operator-> calls
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: richard-llvm at metafoo.co.uk
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

This code hangs clang:

  template<class T> struct Loop { Loop<T*> operator->(); };
  Loop<int> i = i->x;

(Note, this isn't a template instantiation depth issue; the depth is never
greater than 1.)

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