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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot 
gnu.org

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Another testcase (explicit underlying type):

enum E : int { x = 1, y = x << 1 };
template<E> struct A {};
A<x> a;

It appears this could be solved by *not* inserting const_decls of enums that
haven't been finished into the cv_cache.  I don't know how to do that though.

Reply via email to