[Bug c++/113088] [12/13/14 Regression] Segmentation fault with empty try/catch following try/catch with returns + noexcept destructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113088 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:02c0b49798228d777610f898cd9d63ebec43656d commit r14-6754-g02c0b49798228d777610f898cd9d63ebec43656d Author: Jason Merrill Date: Wed Dec 20 11:06:27 2023 -0500 c++: throwing dtor and empty try [PR113088] maybe_splice_retval_cleanup assumed that the function body can't be empty if there's a throwing cleanup, but when I added cleanups to try blocks in r12-6333-gb10e031458d541 I didn't adjust that assumption. PR c++/113088 PR c++/33799 gcc/cp/ChangeLog: * except.cc (maybe_splice_retval_cleanup): Handle an empty block. gcc/testsuite/ChangeLog: * g++.dg/eh/return2.C: New test.
[Bug c++/113088] [12/13/14 Regression] Segmentation fault with empty try/catch following try/catch with returns + noexcept destructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113088 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
[Bug c++/113088] [12/13/14 Regression] Segmentation fault with empty try/catch following try/catch with returns + noexcept destructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113088 Richard Biener changed: What|Removed |Added Priority|P3 |P2
[Bug c++/113088] [12/13/14 Regression] Segmentation fault with empty try/catch following try/catch with returns + noexcept destructor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113088 Patrick Palka changed: What|Removed |Added CC||jason at gcc dot gnu.org, ||ppalka at gcc dot gnu.org Target Milestone|--- |12.4 Status|UNCONFIRMED |NEW Summary|Segmentation fault with |[12/13/14 Regression] |empty try/catch following |Segmentation fault with |try/catch with returns +|empty try/catch following |noexcept destructor |try/catch with returns + ||noexcept destructor Known to fail||12.3.0, 13.2.0, 14.0 Ever confirmed|0 |1 See Also||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=33799 Keywords||ice-on-valid-code Last reconfirmed||2023-12-20 Known to work||11.4.0 --- Comment #1 from Patrick Palka --- Confirmed, started with r12-6333-gb10e031458d541.