[LLVMbugs] [Bug 9619] New: clang c++ "infinite" loop with template class and operator->
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Apr 3 12:50:08 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9619
Summary: clang c++ "infinite" loop with template class and
operator->
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:
template <unsigned long long x> struct A {
A<x+1> operator->() { return A<x+1>(); }
};
void f() { A<0> x; x->foo(); }
There isn't any limit on the number of operator->'s that clang will try to use.
--
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