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

--- Comment #7 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Sat Feb 23 14:05:31 2019
New Revision: 269158

URL: https://gcc.gnu.org/viewcvs?rev=269158&root=gcc&view=rev
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/noexcept34.C
    trunk/gcc/testsuite/g++.dg/cpp0x/noexcept35.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to