This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/31058] overflow warnings should not be enabled with -Wall
- 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: 7 Mar 2007 21:24:05 -0000
- Subject: [Bug middle-end/31058] overflow warnings should not be enabled with -Wall
- References: <bug-31058-12049@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from pinskia at gcc dot gnu dot org 2007-03-07 21:24 -------
(In reply to comment #14)
> This is why we have this bug -- because loop unrolling creates possibly
> unreachable code with out-of-bounds array access.
But the warning code is the real cause, sorry but there is no work around from
loop unrolling.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|bogus array overflow |overflow warnings should not
|warnings in unrolled loops |be enabled with -Wall
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31058