This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/79697] unused realloc(0, n) not eliminated


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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
It makes sense to convert realloc(0, n) to just malloc and the rest just works.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]