https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65186

            Bug ID: 65186
           Summary: internal compiler error: in tsubst, at cp/pt.c:11738
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: shum at canndrew dot org

The following code causes an ICE in gcc-4.9.2



template<typename A, A x, A y>
using Id = int;

template<
  typename A,
  A x,
  A y,
  Id<A, x, y> p,
  template<A a, A b, Id<A, a, b>> class C,
  C<x, x, x>>
using J = C<x, y, p>;

int main() {
  return 0;
}

Reply via email to