[Bug tree-optimization/64121] [5 Regression] ICE: SSA corruption with -O -fsanitize=undefined
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 1 13:02:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64121
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ah, indeed. So perhaps better replace the:
1565 base = gimple_assign_rhs1 (def_stmt);
line in the loop with
{
tree rhs1 = gimple_assign_rhs1 (def_stmt);
if (TREE_CODE (rhs1) == SSA_NAME && SSA_NAME_OCCURS_IN_ABNORMAL_PHI (rhs1))
break;
else
base = rhs1;
}
or so?
More information about the Gcc-bugs
mailing list