diff options
author | Jason Merrill <jason@redhat.com> | 2022-01-06 09:45:26 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2022-01-06 19:25:43 -0500 |
commit | 6ad76e73375a9c00a0a5f5729ae70bce7a6db5bc (patch) | |
tree | 8bef3fdb4867b142b1006f4dc37069f47bcfc8cf /libgfortran/generated | |
parent | b10e031458d541f794dfaa08ba606487603a4bb6 (diff) | |
download | gcc-6ad76e73375a9c00a0a5f5729ae70bce7a6db5bc.zip gcc-6ad76e73375a9c00a0a5f5729ae70bce7a6db5bc.tar.gz gcc-6ad76e73375a9c00a0a5f5729ae70bce7a6db5bc.tar.bz2 |
c++: nested catch in ctor fn-try-block [PR61611]
Being in_function_try_handler isn't enough to satisfy the condition of
reaching the end of such a handler; in this case, we're reaching the end of
a handler within that handler, so we don't want the special semantics.
PR c++/61611
gcc/cp/ChangeLog:
* except.c (in_nested_catch): New.
(expand_end_catch_block): Check it.
gcc/testsuite/ChangeLog:
* g++.dg/eh/ctor-fntry1.C: New test.
Diffstat (limited to 'libgfortran/generated')
0 files changed, 0 insertions, 0 deletions