https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108083
--- Comment #1 from stefanos <ssofroni at cytanet dot com.cy> --- 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/tmp.cpp in place of Makefile, it triggers the memory leak.