[Bug middle-end/78074] gcc-6.2.0 miscompiles calloc reimplementation

2022-03-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78074

Andrew Pinski  changed:

   What|Removed |Added

 CC||godmar at gmail dot com

--- Comment #3 from Andrew Pinski  ---
*** Bug 105051 has been marked as a duplicate of this bug. ***

[Bug middle-end/78074] gcc-6.2.0 miscompiles calloc reimplementation

2019-10-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78074

Andrew Pinski  changed:

   What|Removed |Added

 CC||djipi.mari at gmail dot com

--- Comment #2 from Andrew Pinski  ---
*** Bug 92041 has been marked as a duplicate of this bug. ***

[Bug middle-end/78074] gcc-6.2.0 miscompiles calloc reimplementation

2016-10-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78074

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Component|c   |middle-end
 Resolution|--- |INVALID

--- Comment #1 from Andrew Pinski  ---
Use -fno-builtin to remove this optimization that is so GCC does not recognize
malloc/memset here.
This optimization has been there since 2014.