This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/31058] bogus array overflow warnings in unrolled loops
- 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:21:20 -0000
- Subject: [Bug middle-end/31058] bogus array overflow warnings in unrolled loops
- References: <bug-31058-12049@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from pinskia at gcc dot gnu dot org 2007-03-07 21:21 -------
(In reply to comment #11)
> Sorry, but I don't agree a bit with you. It doesn't have as much false
> positives
> as other warnings in -Wall.
Actually if you read the documention for -Wall, it says enable warnings that
are easy to avoid.
"This enables all the warnings about constructions that some users consider
questionable, and that are easy to avoid (or modify to prevent the warning),
even in conjunction with macros. "
So really this warning is not easy to avoid in the case of
-fprefetch-loop-arrays (or -funroll-loops if it comes and does (non complete)
unroll at the tree level).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31058