http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46394
Dodji Seketeli <dodji at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|35722 | --- Comment #5 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-02-04 19:53:24 UTC --- Actually my previous analysis wasn't quite right. Rather, the substitution of the fixed up U into std::remove_reference<U>::type..., fails. It fails because we fail to compare the fixed up U with the non-fixed up U. And after that the sky falls. So this has nothing to do with http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35722, luckily. Pheew. A candidate patch was sent to to http://gcc.gnu.org/ml/gcc-patches/2011-02/msg00295.html along with a smaller reproducer.