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

--- Comment #3 from Douglas Gregor <[email protected]> 2010-02-21 01:47:28 CST 
---
(In reply to comment #1)
> Reduced test case:
> --
> ddun...@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()); }
> ddun...@giles:tmp$ clang -c t.cpp
> clang: error: compiler command failed due to signal 11 (use -v to see
> invocation)
> ddun...@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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to