https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125579
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Richard Sandiford <[email protected]>: https://gcc.gnu.org/g:84ab2358609dbbbb45c06c67b57d2d988457f398 commit r17-1252-g84ab2358609dbbbb45c06c67b57d2d988457f398 Author: Richard Sandiford <[email protected]> Date: Wed Jun 3 11:04:15 2026 +0100 backprop: Avoid double deletions [PR125579] In this PR, two values were simplified to the same phi, which in turn was made redundant by other simplifications. The pass then tried to delete the phi twice. gcc/ PR tree-optimization/125579 * gimple-ssa-backprop.cc (backprop::execute): Avoid double deletions. gcc/testsuite/ PR tree-optimization/125579 * gcc.dg/pr125579.c: New test.
