public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/81438] silent bad code generation with computed goto exit from catch block [not found] <bug-81438-4@http.gcc.gnu.org/bugzilla/> @ 2023-12-22 3:18 ` cvs-commit at gcc dot gnu.org 2024-01-12 15:16 ` jason at gcc dot gnu.org 1 sibling, 0 replies; 2+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2023-12-22 3:18 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81438 --- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Jason Merrill <jason@gcc.gnu.org>: https://gcc.gnu.org/g:2488771b6dc6b05bfdc68dbd6b7bbe0489c8dad0 commit r14-6799-g2488771b6dc6b05bfdc68dbd6b7bbe0489c8dad0 Author: Jason Merrill <jason@redhat.com> Date: Wed Dec 20 21:34:49 2023 -0500 c++: computed goto from catch block [PR81438] As with 37722, we don't clean up the exception object if a computed goto leaves a catch block, but we can warn about that. PR c++/81438 gcc/cp/ChangeLog: * decl.cc (poplevel_named_label_1): Handle leaving catch. (check_previous_goto_1): Likewise. (check_goto_1): Likewise. gcc/testsuite/ChangeLog: * g++.dg/ext/label15.C: Require indirect_jumps. * g++.dg/ext/label16.C: New test. ^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/81438] silent bad code generation with computed goto exit from catch block [not found] <bug-81438-4@http.gcc.gnu.org/bugzilla/> 2023-12-22 3:18 ` [Bug c++/81438] silent bad code generation with computed goto exit from catch block cvs-commit at gcc dot gnu.org @ 2024-01-12 15:16 ` jason at gcc dot gnu.org 1 sibling, 0 replies; 2+ messages in thread From: jason at gcc dot gnu.org @ 2024-01-12 15:16 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81438 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED CC| |jason at gcc dot gnu.org Target Milestone|--- |14.0 --- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> --- Diagnostic added for GCC 14. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-12 15:16 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-81438-4@http.gcc.gnu.org/bugzilla/> 2023-12-22 3:18 ` [Bug c++/81438] silent bad code generation with computed goto exit from catch block cvs-commit at gcc dot gnu.org 2024-01-12 15:16 ` jason at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).