diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-10-03 00:32:56 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-10-03 00:32:56 +0200 |
commit | 1006c9d4395a939820df76f37c7b085a4a1a003f (patch) | |
tree | 973f74c8b74c3df61c1379ee1c6ebc66d0fa048a /gcc/tree-ssa-structalias.c | |
parent | 276a52d5566487fa53bcf34f24290362a10ac316 (diff) | |
download | gcc-1006c9d4395a939820df76f37c7b085a4a1a003f.zip gcc-1006c9d4395a939820df76f37c7b085a4a1a003f.tar.gz gcc-1006c9d4395a939820df76f37c7b085a4a1a003f.tar.bz2 |
constexpr.c (cxx_eval_constant_expression): If not skipping upon entry to body...
* constexpr.c (cxx_eval_constant_expression) <case CLEANUP_STMT>: If
not skipping upon entry to body, run cleanup with the same *jump_target
as it started to run the cleanup even if the body returns, breaks or
continues.
(potential_constant_expression_1): Allow CLEANUP_STMT.
* g++.dg/ext/constexpr-attr-cleanup1.C: New test.
From-SVN: r276494
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions