https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90741
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The first malloc call is from expansion of allocate statement, while the second one is for the a = 50 assignment which must allocate on the assignment if not allocated already. I don't see any bug.