]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/init.cc
PR c++/85807 - ICE with call in template NSDMI.
authorJason Merrill <jason@redhat.com>
Wed, 30 May 2018 19:31:11 +0000 (15:31 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 30 May 2018 19:31:11 +0000 (15:31 -0400)
commit298434c916c14e8adca2cab8a746aee29038c5b3
tree2ec8d226631111636f2272d5019a251a36d6e3c7
parentfbf5c1c64c0fbfe529ea86924c789e1dbeeb4a24
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.

From-SVN: r260972
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/cp/tree.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-ice14.C
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi8.C
gcc/testsuite/g++.dg/cpp0x/nsdmi-template17.C [new file with mode: 0644]