https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71662
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.9/5/6/7 Regression] ICE |[4.9/5/6/7 Regression][DR |on invalid C++11 code with |1485] ICE on invalid C++11 |unqualified name look up: |code with unqualified name |in tsubst_copy, at |look up: in tsubst_copy, at |cp/pt.c:14010 |cp/pt.c:14010 --- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> --- Related to http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#1485 which is still in drafting. Discussion at the October 2012 meeting suggested that an unscoped opaque enum declaration should be ill-formed.