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: "gdr at cs dot tamu dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Mar 2007 21:35:19 -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 #17 from gdr at cs dot tamu dot edu 2007-03-07 21:35 -------
Subject: Re: bogus array overflow warnings in unrolled loops
"rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| This is why we have this bug -- because loop unrolling creates possibly
| unreachable code with out-of-bounds array access.
While I don't think removing the warning from -Wall solves the
problem, I tend to agree with Andrew Pinski that it should not be
included there.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31058