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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Feb 20 06:05:08 2017
New Revision: 245587

URL: https://gcc.gnu.org/viewcvs?rev=245587&root=gcc&view=rev
Log:
        PR c++/79580 - ICE with compound literal

        * parser.c (cp_parser_class_head): If we're in the middle of an
        expression, use ts_within_enclosing_non_class.

Added:
    trunk/gcc/testsuite/g++.dg/ext/complit15.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c

Reply via email to