This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/46645] [4.6 Regression] FAIL: 20_util/unique_ptr/requirements/explicit_instantiation/explicit_instantiation.cc


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());
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]