https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98753
--- Comment #6 from Christoph <foss at grueninger dot de> --- Sorry for not providing the command line argument and the new output. > gcc-11 -std=c++17 cmCommandArgumentParser_complete.cxx cmCommandArgumentParser.cxx: In function ‘int cmCommandArgument_yyparse(yyscan_t)’: cmCommandArgumentParser.cxx:1838:10: warning: ‘void free(void*)’ called on unallocated object ‘yyssa’ [-Wfree-nonheap-object] cmCommandArgumentParser.cxx:1203:16: note: declared here /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /usr/lib64/gcc/x86_64-suse-linux/11/../../../../lib64/crt1.o: in function `_start': /home/abuild/rpmbuild/BUILD/glibc-2.26/csu/../sysdeps/x86_64/start.S:110: undefined reference to `main' ...