https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116588
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Zdenek Sojka from comment #6) > Is the -DDEBUG in dg-options correct? I think the testcase won't fail at > runtime when -DDEBUG is used. It is not. main body should be just if (foo (0)) __builtin_abort (); Even if it aborted, there is no need to keep debugging printouts in most of the testcases (there are exceptions like the struct-layout-1.exp tests where one can expect frequent debugging).