https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108083
--- Comment #3 from stefanos ---
(In reply to Jonathan Wakely from comment #2)
> (In reply to stefanos from comment #0)
> > With my Makefile, I generate an executable with the following steps:
> >
> > ccache g++ -Wall -Wextra -Werror -Wpedantic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108083
--- Comment #1 from stefanos ---
I forgot to mention that if I try *directly* the following command
g++ -Wall -Wextra -Werror -Wpedantic -std=c++20 -g -g0
-fsanitize=address,undefined -D_GLIBCXX_DEBUG -fno-strict-aliasing -fwrapv -lm
-o tmp src
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108083
Bug ID: 108083
Summary: Code with memory leak does not get triggered when I
run the executable
Product: gcc
Version: 12.2.0
Status: UNCONFIRMED
Severity: norma