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

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 7 18:32:00 GMT 2017


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
-O3 produces the memset:
_ZN1AC2Ev:
.LFB1:
        .cfi_startproc
        mov     x2, 4096
        mov     w1, 0
        b       memset
        .cfi_endproc


More information about the Gcc-bugs mailing list