[Bug tree-optimization/123602] [13/14/15/16 Regression] ICE: SSA corruption during RTL pass: expand with -O2 and -std=c++20 flag since r8-18
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 19 10:38:19 GMT 2026
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 <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:134bc017ebac60eb53166998ec7efbc2e7f7e3b5
commit r16-6896-g134bc017ebac60eb53166998ec7efbc2e7f7e3b5
Author: Richard Biener <rguenther@suse.de>
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.
More information about the Gcc-bugs
mailing list