Hi, This a patch fixes Bug 123067] by checking for partial aliasing in self write test in LICM.
Bootstrapped and regression tested with no new regressions. gcc/ChangeLog: 2025-12-09 Kugan Vivekanandarajah <[email protected]> PR middle-end/123067 * tree-ssa-loop-im.cc (is_self_write): gcc/testsuite/ChangeLog: 2025-12-09 Kugan Vivekanandarajah <[email protected]> PR middle-end/123067 * gcc.dg/licm-self-write-partial-alias.c: New test. Is this OK? Thanks, Kugan
0001-Bug-123067-LICM-wrong-code.patch
Description: 0001-Bug-123067-LICM-wrong-code.patch
