This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36902] [4.3/4.4 Regression]: Bogus array bound warning
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2008 20:50:22 -0000
- Subject: [Bug middle-end/36902] [4.3/4.4 Regression]: Bogus array bound warning
- References: <bug-36902-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-22 20:50 -------
This happens because the warning happens very early in the compiler so it does
not know that the case5 is not going to be used. I think the warning is
correct and not really bogus if you take that into account.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36902