diff options
author | Jason Merrill <jason@redhat.com> | 2020-01-23 12:32:02 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2020-01-23 13:11:10 -0500 |
commit | 20afdcd36982752ba012960b862e9be7154b1274 (patch) | |
tree | b1b84dfb8fe2f82951a212efb5388a807bd245b7 /gcc/go | |
parent | 648796dab42b6e839f10fee5835f24cd2016a9f4 (diff) | |
download | gcc-20afdcd36982752ba012960b862e9be7154b1274.zip gcc-20afdcd36982752ba012960b862e9be7154b1274.tar.gz gcc-20afdcd36982752ba012960b862e9be7154b1274.tar.bz2 |
c++: Fix ICE with defaulted destructor and template.
In a template we don't instantiate a deferred noexcept-spec, and we don't
need it because we aren't going to do anything with the value of
throwing_cleanup in a template anyway.
PR c++/93345 - ICE with defaulted dtor and template.
PR c++/33799
* decl.c (cxx_maybe_build_cleanup): Don't try to set
throwing_cleanup in a template.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions