This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36902] Array bound warning with dead code after optimization
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Nov 2008 14:42:03 -0000
- Subject: [Bug middle-end/36902] Array bound warning with dead code after optimization
- References: <bug-36902-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #28 from hjl dot tools at gmail dot com 2008-11-18 14:42 -------
(In reply to comment #27)
> Isn't this a regression?
>
The warning is new. But the same code won't compile with -Wall while
gcc 4.1 has no problems.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36902