https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123602
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:134bc017ebac60eb53166998ec7efbc2e7f7e3b5 commit r16-6896-g134bc017ebac60eb53166998ec7efbc2e7f7e3b5 Author: Richard Biener <[email protected]> Date: Mon Jan 19 10:21:10 2026 +0100 tree-optimization/123602 - avoid PRE-inserting abnormal SSA refs The following fixes an omission in find_or_generate_expression to check for SSA_NAME_OCCURS_IN_ABNORMAL_PHI as already done in create_expression_by_pieces. PR tree-optimization/123602 * tree-ssa-pre.cc (find_or_generate_expression): Do not generate references to abnormal SSA names. * g++.dg/torture/pr123603.C: New testcase.
