[Bug middle-end/31058] bogus array overflow warnings in unrolled loops
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 7 21:21:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list