https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119211
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I've noticed a serious problem, there are tons of if (getenv (__func__)) do_some_debugging spots in the FE. I think all those getenv calls should be changed to some inline function and have some non-default --enable-cobol-fe-extra-debugging configure option that results it in actually calling getenv, otherwise always returns false. Because I think we don't want production compilers to have that compiled in by default.