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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #40399|0                           |1
        is obsolete|                            |

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 40401
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40401&action=edit
Patch candidate v2

Well, I guess it's GCC 8 issue. I can imagine to introduce an option that would
enable optimization of malloc(0) to return NULL? Similarly, we may want a
warning for both missing LHS and malloc(0). Is it a desired feature?

Reply via email to