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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed May 30 19:31:11 2018
New Revision: 260972

URL: https://gcc.gnu.org/viewcvs?rev=260972&root=gcc&view=rev
Log:
        PR c++/85807 - ICE with call in template NSDMI.

        * init.c (get_nsdmi): Use push_to/pop_from_top_level.
        * tree.c (bot_manip): Don't set_flags_from_callee in a template.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi-template17.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/init.c
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice14.C
    trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi8.C

Reply via email to