[Bug c++/70824] [6/7 Regression] cc1plus consumes all available memory on specific template code

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 15 18:38:00 GMT 2016


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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jul 15 18:37:48 2016
New Revision: 238386

URL: https://gcc.gnu.org/viewcvs?rev=238386&root=gcc&view=rev
Log:
        PR c++/70824 - initializer_list in template

        * init.c (constant_value_1): Don't instantiated DECL_INITIAL of
        artificial variables.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/initlist-template1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c


More information about the Gcc-bugs mailing list