[Bug c++/77629] internal compiler error: same canonical type node for different types

2016-09-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77629

Markus Trippelsdorf  changed:

   What|Removed |Added

 Status|RESOLVED|NEW
   Last reconfirmed||2016-09-18
 CC||jason at gcc dot gnu.org
 Resolution|DUPLICATE   |---
 Ever confirmed|0   |1

--- Comment #2 from Markus Trippelsdorf  ---
Started with r238696:

commit 44d0a5f893a449013cf4d64127dcac7b51c0a8e8
Author: jason 
Date:   Sun Jul 24 23:40:05 2016 +

PR c++/71515 - typename in partial specialization

* pt.c (resolve_typename_type): Try to avoid calling
currently_open_class.

Testcase:

template  struct A;
template  using enable_if_t = typename A<_Cond>::type;
template  struct B;
template  struct C;
template  struct D;
template 
struct B> {
  using Base = D;
//  typedef  D  Base; // OK
  using typename Base::Scalar;
  Scalar a;
};

See: PR69481 for a similar issue.

[Bug c++/77629] internal compiler error: same canonical type node for different types

2016-09-18 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77629

Markus Trippelsdorf  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||trippels at gcc dot gnu.org
 Resolution|--- |DUPLICATE

--- Comment #1 from Markus Trippelsdorf  ---
dup.

*** This bug has been marked as a duplicate of bug 69481 ***