[Bug middle-end/31058] overflow warnings should not be enabled with -Wall

gdr at cs dot tamu dot edu gcc-bugzilla@gcc.gnu.org
Wed Mar 7 21:35:00 GMT 2007



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



More information about the Gcc-bugs mailing list