This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/31058] bogus array overflow warnings in unrolled loops



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]