[Bug middle-end/78074] gcc-6.2.0 miscompiles calloc reimplementation
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Oct 22 09:32:00 GMT 2016
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.
More information about the Gcc-bugs
mailing list