http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49991
Summary: gimple check: expected gimple_phi(error_mark), have
gimple_assign(max_expr) in gimple_phi_arg
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: [email protected]
ReportedBy: [email protected]
Target: i686-pc-linux-gnu
Compile with `-O3 -march=pentium4':
char f(char *s)
{
char c = 0;
int i;
for (i = 0; i < 16; i++) {
if (s[i * 3 + 0] > c)
c = s[i * 3 + 0];
if (s[i * 3 + 1] > c)
c = s[i * 3 + 1];
if (s[i * 3 + 2] > c)
c = s[i * 3 + 2];
}
return c;
}