diff options
author | Marek Polacek <polacek@redhat.com> | 2019-03-28 20:24:48 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2019-03-28 20:24:48 +0000 |
commit | c526171d734653ebde26fc8a29191247add7bf3e (patch) | |
tree | 805536d2cc95687eeccf43591de8bbe41bb4972e /gcc/tree-inline.c | |
parent | ddfd99ac13bf63ba7cb9ca30cd9b16d41f5c664a (diff) | |
download | gcc-c526171d734653ebde26fc8a29191247add7bf3e.zip gcc-c526171d734653ebde26fc8a29191247add7bf3e.tar.gz gcc-c526171d734653ebde26fc8a29191247add7bf3e.tar.bz2 |
PR c++/89612 - ICE with member friend template with noexcept.
* pt.c (maybe_instantiate_noexcept): For function templates, use their
template result (function decl). Don't set up local specializations.
Temporarily turn on processing_template_decl. Update the template type
too.
* g++.dg/cpp0x/noexcept38.C: New test.
* g++.dg/cpp0x/noexcept39.C: New test.
* g++.dg/cpp1z/noexcept-type21.C: New test.
From-SVN: r270005
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions