This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46645] [4.6 Regression] FAIL: 20_util/unique_ptr/requirements/explicit_instantiation/explicit_instantiation.cc
- From: "marc.glisse at normalesup dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 1 Dec 2010 16:17:14 +0000
- Subject: [Bug c++/46645] [4.6 Regression] FAIL: 20_util/unique_ptr/requirements/explicit_instantiation/explicit_instantiation.cc
- Auto-submitted: auto-generated
- References: <bug-46645-4@http.gcc.gnu.org/bugzilla/>
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());
}