https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78074
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|c |middle-end Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Use -fno-builtin to remove this optimization that is so GCC does not recognize malloc/memset here. This optimization has been there since 2014.