c++: Fix deferred noexcept on constructor [PR93901].
authorJason Merrill <jason@redhat.com>
Tue, 10 Mar 2020 21:31:33 +0000 (17:31 -0400)
committerJason Merrill <jason@redhat.com>
Wed, 11 Mar 2020 02:01:03 +0000 (22:01 -0400)
commit481fcfe6fec156ca2a6baea4b623076e2eefa6a6
treee8c94ae808cfe7717547a95214c6c4057d0dc1de
parentdf15a82804e1f7f4a7432670b33387779de46549
c++: Fix deferred noexcept on constructor [PR93901].

My change in r10-4394 to only update clones when we actually instantiate a
deferred noexcept-spec broke this because deferred parsing updates the
primary function but not the clones.  For GCC 10, let's just revert it.

gcc/cp/ChangeLog
2020-03-10  Jason Merrill  <jason@redhat.com>

PR c++/93901
* pt.c (maybe_instantiate_noexcept): Always update clones.
gcc/cp/ChangeLog
gcc/cp/pt.c