This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/48228] incorrect signed overflow warning when only 0 and 1 are used
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 Mar 2011 10:46:58 +0000
- Subject: [Bug c/48228] incorrect signed overflow warning when only 0 and 1 are used
- Auto-submitted: auto-generated
- References: <bug-48228-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-22 10:46:49 UTC ---
Which happens because of our way of handling iteration with PHIs. Which
of course is very overly conservative with single-arg PHIs (or PHIs w/o
backedges).