PR c++/88294 - ICE with non-constant noexcept-specifier.
authorMarek Polacek <polacek@redhat.com>
Sat, 23 Feb 2019 14:05:31 +0000 (14:05 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Sat, 23 Feb 2019 14:05:31 +0000 (14:05 +0000)
commit28a19c5be3c3982595230497f1a6142fda69bdfa
tree2e28c31b6d5c2e1f9a5384301740141655ad547e
parent524cee402e974b7e8e6e8e7ca6af189360c99526
PR c++/88294 - ICE with non-constant noexcept-specifier.

* pt.c (maybe_instantiate_noexcept): Set up the list of local
specializations.  Set current_class_{ptr,ref}.

* g++.dg/cpp0x/noexcept34.C: New test.
* g++.dg/cpp0x/noexcept35.C: New test.

From-SVN: r269158
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/noexcept34.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/noexcept35.C [new file with mode: 0644]