https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128357
Steve Kargl <kargl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #1 from Steve Kargl <kargl at gcc dot gnu.org> ---
This looks like you are conflating two problems into one PR.
The aliasing issue with the dummy arguments seems to be
unrelated to memory leaks.
I need to think about the memory leak issues a bit. You are
doing everything in the main program scoping unit. There
is no requirement that memory is be free (or garbage collected)
when the main program scoping unit goes out of scope. That
is, the program terminates and it's the OS's job to reclaim
memory.