diff options
author | Jason Merrill <jason@redhat.com> | 2018-04-12 16:03:33 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2018-04-12 16:03:33 -0400 |
commit | 38f3a877505df9a6e355add3424120f39450c432 (patch) | |
tree | 3fd42df87398348c6dd035d4b1fdbb12ec2da387 /gcc/expr.c | |
parent | 4930c53ee69f18a6fd689527864d419ce0333e7a (diff) | |
download | gcc-38f3a877505df9a6e355add3424120f39450c432.zip gcc-38f3a877505df9a6e355add3424120f39450c432.tar.gz gcc-38f3a877505df9a6e355add3424120f39450c432.tar.bz2 |
PR c++/85356 - ICE with pointer to member function.
* pt.c (maybe_instantiate_noexcept): Do instantiate in templates if
flag_noexcept_type. Build the new spec within the function context.
* except.c (build_noexcept_spec): Do get constant value in templates
if flag_noexcept_type.
* decl.c (check_redeclaration_exception_specification): Don't
instantiate noexcept on a dependent declaration.
From-SVN: r259356
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions