Possible leaks observed in GCC.

Paul Floyd paulf@free.fr
Wed Dec 9 12:55:14 GMT 2020


On 12/9/20 1:44 PM, Tomar, Sourabh Singh via Gcc wrote:
> Hi Folks,
>
> I observed some leaks using valgrind while compiling a sample program using GCC.
>
> Could anyone aware of these details provide any insights to these leaks ?
>
> ==32090== Rerun with --leak-check=full to see details of leaked memory


Hi

For a start, do what Valgrind told you to do (the line above that I kept).

I would also recommend --show-leak-kinds=all and -s.

A+

Paul



More information about the Gcc mailing list