[Bug c++/82888] terrible code generation for initialization of POD array members vs. clang

jseward at acm dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 7 18:38:00 GMT 2017


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

--- Comment #2 from jseward at acm dot org ---
(In reply to Andrew Pinski from comment #1)
> -O3 produces the memset:

Having to go to -O3 to get reasonable code isn't a great solution, though.
Couldn't gcc at least produce a word-at-a-time loop, or "rep stosw" on x86s?


More information about the Gcc-bugs mailing list