[Bug c++/69851] [6 Regression] ICE: in assign_temp, at function.c:961
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 17 08:53:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69851
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-02-17
CC| |jakub at gcc dot gnu.org
Target Milestone|--- |6.0
Ever confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
template <typename T>
struct A { T a; };
template <unsigned long, typename...>
struct B;
template <unsigned long N, typename T, typename... U>
struct B<N, T, U...> : B<1, U...>, A<T>
{
B (B &) = default;
B (B &&__in) : B(__in) {}
};
template <unsigned long N, typename T>
struct B<N, T> {};
struct C { C (C &); };
struct D {};
void
foo (B<0, C, D, int, int> a)
{
B<0, C, D, int, int> b (a);
}
More information about the Gcc-bugs
mailing list