This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/26198] Unfolded comparison after cfg_cleanup
- 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: 11 Oct 2007 12:11:00 -0000
- Subject: [Bug middle-end/26198] Unfolded comparison after cfg_cleanup
- References: <bug-26198-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from rguenth at gcc dot gnu dot org 2007-10-11 12:10 -------
Also
because in fold_binary where we handle this kind of stuff we have
if (!offset0 || !offset1
|| TREE_TYPE (offset0) == TREE_TYPE (offset1))
{
...
is no longer true, we compare offsets in signed sizetype.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26198