http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60844
Bug ID: 60844
Summary: [4.9/4.10 Regression] ICE in
reassoc_stmt_dominates_stmt_p
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: jakub at gcc dot gnu.org
void
foo (int *x, int y, int z)
{
int b, c = x[0], d = x[1];
for (b = 0; b < 1; b++)
{
int e = (y ? 1 : 0) | (d ? 2 : 0) | (z ? 1 : 0);
e |= (c ? 2 : 0) | ((1 >> b) ? 1 : 0);
x[2 + b] = e;
}
}
ICEs at -O2 -g -mtune=atom on x86_64/i686, starting with r203979.