PR c++/69300 - ICE with self-referential noexcept
authorJason Merrill <jason@redhat.com>
Wed, 28 Jun 2017 20:02:12 +0000 (16:02 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 28 Jun 2017 20:02:12 +0000 (16:02 -0400)
commit38a79c5a9575709f649ae6646134744302ac9224
treefe88f317e4fa0b3bf0f3a64a8c1b7c8b5a4d5932
parent7e61b3d4fd0ec658697ece8dac2d27000d6da921
PR c++/69300 - ICE with self-referential noexcept

* pt.c (maybe_instantiate_noexcept): Check for recursion.

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