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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jun 19 18:46:51 2018
New Revision: 261757

URL: https://gcc.gnu.org/viewcvs?rev=261757&root=gcc&view=rev
Log:
        PR c++/86192 - ICE with anonymous union passed to template.

        * pt.c (tsubst_expr) [DECL_EXPR]: Handle an anonymous union type
        used to declare a named variable.

Added:
    trunk/gcc/testsuite/g++.dg/template/anonunion3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c

Reply via email to