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: "rguenth 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 22:53:29 -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 #4 from rguenth at gcc dot gnu dot org 2010-01-10 22:53 -------
The proper thing is to convert the pointer to an appropriate TYPE_PRECISION
signed type, do the arithmetic on it and after it convert it back to the
pointer type.
What does CLAST know about overflow issues here btw? The expression looks
dubious to me (it reads to me as (7*T_6)%8).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42681