https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65357
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Perhaps by enabling warnings? E.g. with -Wall you get all the important warnings: warning: operation on ‘list’ may be undefined [-Wsequence-point] (twice) and warning: return type of ‘main’ is not ‘int’ [-Wmain]