https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128965
Alejandro Colomar <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |foss+gcc@alejandro-colomar. | |es --- Comment #1 from Alejandro Colomar <[email protected]> --- We could differentiate when one calls exit(3) from main(), and when one returns from it. I'd report leaks when it returns, but not when it calls exit(3). They're technically equivalent, but it probably simplifies the implementation, and allows the user to choose their preferred behavior by using either of them.
