https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125040
--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:c61050d76cbbbd1f18536e91095a420c8f52d380 commit r16-9265-gc61050d76cbbbd1f18536e91095a420c8f52d380 Author: Richard Biener <[email protected]> Date: Fri Jun 26 16:28:52 2026 +0200 tree-optimization/125040 - iterate PRE clean The testcase has a cycle in the value graph of ANTIC_IN, this means we have to iterate to correctly prune all invalid expressions. PR tree-optimization/125040 * tree-ssa-pre.cc (clean): Iterate processing. * gcc.dg/torture/pr125040.c: New testcase. (cherry picked from commit b052d6bbbeea2b04c8a4f765e89b0b3f19f81764)
