[Bug debug/32563] [4.2/4.3 regression] ICE on pointer arithmetic
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Aug 20 09:44:00 GMT 2007
------- Comment #6 from rguenth at gcc dot gnu dot org 2007-08-20 09:44 -------
Which is because...
TREE_OPERAND (pos, 1) = fold_build2 (PLUS_EXPR, itype,
fold_convert (itype,
TREE_OPERAND (pos, 1)),
fold_convert (itype, delta));
fold_convert (itype, -1) generates the overflow as -1 is unsigned and itype
(from TYPE_DOMAIN of the array type) is a signed type.
I'll think about this one.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2007-08-06 15:44:33 |2007-08-20 09:44:13
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32563
More information about the Gcc-bugs
mailing list