This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/42681] [4.5 Regression] ICE: in build2_stat, at tree.c:3664 with "-O1 -fgraphite-identity"
- From: "spop at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jan 2010 21:33:28 -0000
- Subject: [Bug tree-optimization/42681] [4.5 Regression] ICE: in build2_stat, at tree.c:3664 with "-O1 -fgraphite-identity"
- References: <bug-42681-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from spop at gcc dot gnu dot org 2010-01-10 21:33 -------
The problem is in the code generation of the following CLAST:
if (7*T_6%8 == 0) {
...
}
where T_6 has a pointer type, and build refuses to construct a MULT_EXPR with a
pointer type.
I think that for this kind of expressions we will have to stop gloog, remove
the code that we generated, and leave the non transformed version.
--
spop at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.5.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42681