]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/125040 - iterate PRE clean
authorRichard Biener <rguenther@suse.de>
Fri, 26 Jun 2026 14:28:52 +0000 (16:28 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 1 Jul 2026 10:19:00 +0000 (12:19 +0200)
commitb052d6bbbeea2b04c8a4f765e89b0b3f19f81764
tree489f9b7e5680ae90fb5969012a7e89d06bd65713
parent47b70db8779a0991b9370e571ab18901b2643a63
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.
gcc/testsuite/gcc.dg/torture/pr125040.c [new file with mode: 0644]
gcc/tree-ssa-pre.cc