public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/80406] Reduced false positive test case for -Warray-bounds with -O3
       [not found] <bug-80406-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-08  3:50 ` pinskia at gcc dot gnu.org
  2021-08-09  5:48 ` brlcad at mac dot com
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-08  3:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80406

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Target Milestone|---                         |8.0
             Status|NEW                         |RESOLVED

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
GCC before 8, is execusively unrolling:
      for (j=i; j < npts; j++) {
        k[j] = k[j+1]; /* False positive -Warray-bounds issued here */
      }

Fixed most likely by r8-5008.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug tree-optimization/80406] Reduced false positive test case for -Warray-bounds with -O3
       [not found] <bug-80406-4@http.gcc.gnu.org/bugzilla/>
  2021-08-08  3:50 ` [Bug tree-optimization/80406] Reduced false positive test case for -Warray-bounds with -O3 pinskia at gcc dot gnu.org
@ 2021-08-09  5:48 ` brlcad at mac dot com
  1 sibling, 0 replies; 2+ messages in thread
From: brlcad at mac dot com @ 2021-08-09  5:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80406

--- Comment #4 from Sean <brlcad at mac dot com> ---
Can confirm the warning no longer appears to issue (at least as of GCC 11).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-09  5:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-80406-4@http.gcc.gnu.org/bugzilla/>
2021-08-08  3:50 ` [Bug tree-optimization/80406] Reduced false positive test case for -Warray-bounds with -O3 pinskia at gcc dot gnu.org
2021-08-09  5:48 ` brlcad at mac dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).