diff options
author | Jason Merrill <jason@redhat.com> | 2020-05-14 11:15:27 -0400 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-05-14 16:38:30 -0400 |
commit | 4e1592f8e1d6366699e05c0824fc3dc39ca7314b (patch) | |
tree | fcfc2b956b48825684aa6b62923e73e523e21026 /gcc/gimplify.c | |
parent | 3a36428b5fbc825e2d3455f5770b5d6e71c63413 (diff) | |
download | gcc-4e1592f8e1d6366699e05c0824fc3dc39ca7314b.zip gcc-4e1592f8e1d6366699e05c0824fc3dc39ca7314b.tar.gz gcc-4e1592f8e1d6366699e05c0824fc3dc39ca7314b.tar.bz2 |
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 I just reverted that
change; this patch adjusts maybe_instantiate_noexcept to update only the
clone passed as the argument.
gcc/cp/ChangeLog
2020-05-14 Jason Merrill <jason@redhat.com>
PR c++/93901
* pt.c (maybe_instantiate_noexcept): Change clone handling.
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions