https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80524
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu.org --- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- I think this depends a lot on the compiler implementation. Declaring a type does not define an instance of it. I can see that since new_t is returning a function result which could be a pointer, the compiler could end up only creating one instance.