[Bug middle-end/83022] malloc & memset -> calloc is not always an optimization

nathan at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 17 12:26:00 GMT 2017


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

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-11-17
           Assignee|unassigned at gcc dot gnu.org      |nathan at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
working on a patch.  This also occurred in mysql 5.6, and the 5.7 release
refactored the code to avoid the problem.


More information about the Gcc-bugs mailing list