[Bug tree-optimization/123602] [13 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
Fri Mar 20 10:00:09 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123602
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:af5b428d657be629775e11a6618e162e5e672be6
commit r13-10150-gaf5b428d657be629775e11a6618e162e5e672be6
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.
(cherry picked from commit 134bc017ebac60eb53166998ec7efbc2e7f7e3b5)
More information about the Gcc-bugs
mailing list