[Bug c/87367] GCC gives false warning on -Wnull-dereference when using -O2
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 20 08:15:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87367
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
copy->next = list_new();
You dont check the return value here.
More information about the Gcc-bugs
mailing list