This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/49991] New: gimple check: expected gimple_phi(error_mark), have gimple_assign(max_expr) in gimple_phi_arg
- From: "d.g.gorbachev at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 5 Aug 2011 16:56:05 +0000
- Subject: [Bug middle-end/49991] New: gimple check: expected gimple_phi(error_mark), have gimple_assign(max_expr) in gimple_phi_arg
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: d.g.gorbachev@gmail.com
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;
}