[Bug sanitizer/108083] Code with memory leak does not get triggered when I run the executable

2022-12-13 Thread ssofroni at cytanet dot com.cy via Gcc-bugs
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

[Bug c++/108083] Code with memory leak does not get triggered when I run the executable

2022-12-13 Thread ssofroni at cytanet dot com.cy via Gcc-bugs
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

[Bug c++/108083] New: Code with memory leak does not get triggered when I run the executable

2022-12-13 Thread ssofroni at cytanet dot com.cy via Gcc-bugs
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