--- Comment #4 from rguenth at gcc dot gnu dot org 2010-03-16 11:51 ---
4.4 ICEs for me:
> g++-4.4 -S t.C -std=c++0x
t.C: In function int main():
t.C:12: internal compiler error: in tsubst_copy, at cp/pt.c:10077
Please submit a full bug report,
with preprocessed source if appropriate.
--- Comment #3 from paolo dot carlini at oracle dot com 2010-03-16 10:27
---
Thanks Chris.
--
paolo dot carlini at oracle dot com changed:
What|Removed |Added
--- Comment #2 from chris at bubblescope dot net 2010-03-16 08:38 ---
Reduced testcase:
template
struct Container
{ T f() const; };
template
T deref(const T& t)
{ return t; }
template
auto
deref(const T& u, int r, Args... args)
-> decltype(deref(u.f(), args...))
{ return deref(u.f()
--- Comment #1 from paolo dot carlini at oracle dot com 2010-03-15 23:56
---
If you could reduce it somewhat, it would be appreciated.
Let's add Jason in CC.
--
paolo dot carlini at oracle dot com changed:
What|Removed |Added