[LLVMbugs] [Bug 6141] Crash in DeduceTemplateArguments on complex templates
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Feb 20 23:47:29 PST 2010
http://www.llvm.org/bugs/show_bug.cgi?id=6141
--- Comment #3 from Douglas Gregor <dgregor at apple.com> 2010-02-21 01:47:28 CST ---
(In reply to comment #1)
> Reduced test case:
> --
> ddunbar at giles:tmp$ cat t.cpp
> template <class T> class Handle {
> template <class S> inline Handle(Handle<S> that) { }
> };
> template <class T> class Local : public Handle<T> { };
> struct String { static Local<String> New(); };
> void f0(Handle<String> name);
> void f1() { f0(String::New()); }
> ddunbar at giles:tmp$ clang -c t.cpp
> clang: error: compiler command failed due to signal 11 (use -v to see
> invocation)
> ddunbar at giles:tmp$
> --
>
> My guess is infinite recursion.
Awesome reduction, thanks!
I have the fix locally; will commit when I can.
--
Configure bugmail: http://www.llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the llvm-bugs
mailing list