https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77339
--- Comment #6 from Volker Reichelt ---
*** Bug 58987 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77339
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77339
--- Comment #4 from Jason Merrill ---
Author: jason
Date: Fri Mar 24 14:40:13 2017
New Revision: 246462
URL: https://gcc.gnu.org/viewcvs?rev=246462=gcc=rev
Log:
PR c++/77339 - ICE with invalid use of alias template.
* pt.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77339
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77339
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77339
--- Comment #3 from Marek Polacek ---
clang++ says
w.C:4:25: error: type 'A' (aka 'int') cannot be used prior to '::' because
it has no members
template < typename X > A < X >::a;
^
w.C:1:23: note: type alias template 'A'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77339
--- Comment #2 from Marek Polacek ---
I'm pretty sure this started with r181118:
commit 370478b178a3bdf01988c16782c90add8aea26aa
Author: dodji
Date: Mon Nov 7 21:28:50 2011 +
PR c++/45114
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77339
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77339
Richard Biener changed:
What|Removed |Added
Keywords||ice-on-invalid-code
Known to