public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/86619] Missed optimization opportunity with array aliasing
       [not found] <bug-86619-4@http.gcc.gnu.org/bugzilla/>
@ 2021-12-03  7:40 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: pinskia at gcc dot gnu.org @ 2021-12-03  7:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I Noticed clang, ICC nor MSVC either handle this either.

Note GCC is the only one which handles :

int f(std::array<int, 3> & a, std::array<int, 2> & b)
{
  a[0] = 1;
  b[0] = 1;
  return a[0];
}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-03  7:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-86619-4@http.gcc.gnu.org/bugzilla/>
2021-12-03  7:40 ` [Bug c++/86619] Missed optimization opportunity with array aliasing pinskia at gcc dot gnu.org

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