https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127687
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Jakub Jelinek <[email protected]>: https://gcc.gnu.org/g:9da5b256666b88aec0db5dfdd5a46508b50f0ee2 commit r16-9770-g9da5b256666b88aec0db5dfdd5a46508b50f0ee2 Author: Yongqiang Tian <[email protected]> Date: Fri Oct 2 22:33:13 2026 +0200 tree-optimization: Skip debug stmts before assigning UIDs [PR127687] GIMPLE_DEBUG statements currently consume UIDs and are then treated as non-assignments, which flushes pending VEC_PERM simplify sequences. This makes sequence blending depend on whether debug information is present. Skip debug statements before assigning UIDs and processing ordinary statements. Assisted-by: OpenAI Codex 5.6 Sol, co-reviewed by Claude and Yongqiang Tian. PR tree-optimization/127687 gcc/ChangeLog: * tree-ssa-forwprop.cc (pass_forwprop::execute): Skip debug statements before assigning UIDs. gcc/testsuite/ChangeLog: * gcc.dg/pr127687.c: New test. Signed-off-by: Yongqiang Tian <[email protected]> (cherry picked from commit 791386dc22c978e374863d459c378c64cb6d8f26)
