public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/101197] New: __builtin_memmove does not perform constant optimizations
@ 2021-06-24 14:36 unlvsur at live dot com
  2021-06-25  6:22 ` [Bug middle-end/101197] " rguenth at gcc dot gnu.org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: unlvsur at live dot com @ 2021-06-24 14:36 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101197
           Summary: __builtin_memmove does not perform constant
                    optimizations
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

https://godbolt.org/z/qTMEo93j1

Two code does exactly the same thing but gcc refuses to optimize this.

While clang generates exactly the same output of assembly
https://godbolt.org/z/7a4r1hxj7

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

end of thread, other threads:[~2021-08-18 15:57 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24 14:36 [Bug tree-optimization/101197] New: __builtin_memmove does not perform constant optimizations unlvsur at live dot com
2021-06-25  6:22 ` [Bug middle-end/101197] " rguenth at gcc dot gnu.org
2021-06-25  6:55 ` marxin at gcc dot gnu.org
2021-06-25  7:53 ` jakub at gcc dot gnu.org
2021-06-25  8:01 ` jakub at gcc dot gnu.org
2021-08-16 10:23 ` tnfchris at gcc dot gnu.org
2021-08-16 10:29 ` jakub at gcc dot gnu.org
2021-08-16 10:33 ` unlvsur at live dot com
2021-08-16 10:35 ` tnfchris at gcc dot gnu.org
2021-08-16 10:37 ` unlvsur at live dot com
2021-08-16 10:53 ` tnfchris at gcc dot gnu.org
2021-08-16 10:54 ` unlvsur at live dot com
2021-08-16 10:54 ` unlvsur at live dot com
2021-08-16 10:56 ` tnfchris at gcc dot gnu.org
2021-08-16 11:07 ` unlvsur at live dot com
2021-08-16 11:08 ` unlvsur at live dot com
2021-08-16 12:20 ` rguenth at gcc dot gnu.org
2021-08-18 12:53 ` marxin at gcc dot gnu.org
2021-08-18 15:57 ` tnfchris 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).