This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/53890] bogus array bounds warning
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 07 Jul 2012 21:27:27 +0000
- Subject: [Bug c/53890] bogus array bounds warning
- Auto-submitted: auto-generated
- References: <bug-53890-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53890
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-07 21:27:27 UTC ---
What happens here is that we do a jump threading for the case where words == 0
which produces an out of bounds array reference.