https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125146
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:5afe4cd7b855a0e36b5666a7851d6e9b9328d013 commit r15-11233-g5afe4cd7b855a0e36b5666a7851d6e9b9328d013 Author: Richard Biener <[email protected]> Date: Mon May 4 11:02:01 2026 +0200 middle-end/125146 - fold_stmt fails to release SSA names When match-and-simplify simplification fails we have to release eventually pushed stmts. PR middle-end/125146 * gimple-fold.cc (fold_stmt_1): Discard stmts in seq after failed gimple_simplify as well. (cherry picked from commit 71f161d8c5dc2cba7e6a74e87a1b7b86000036e0)
