http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46645
Marc Glisse <marc.glisse at normalesup dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marc.glisse at normalesup | |dot org --- Comment #6 from Marc Glisse <marc.glisse at normalesup dot org> 2010-12-01 16:16:46 UTC --- I get the same ICE (same line number 5490) with: template<class _T1, class _T2> struct pair { _T2 second; template<class _U1, class _U2> constexpr pair(const pair<_U1, _U2>& __p) : second(__p.second) { } }; pair<int,int> make_pair(); struct Gmpfr{ Gmpfr(int); }; struct Gmpfi{ Gmpfi(pair<const Gmpfr,const Gmpfr> bounds){ } }; template <class CT> void test_interval_io(CT x){ Gmpfi a(x); } int main(){ test_interval_io<pair<int,Gmpfr> > (make_pair()); }