https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94280
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- - _gfortran_transfer_character_write (&dt_parm.3, &"-mtune=generic -march=x86-64 -fcompare-debug=-gtoggle -fdump-tree-all -frandom-seed=0x250e943c6552a2d -fdump-final-insns=/tmp/ccL4sSqu.gkd"[1]{lb: 1 sz: 1}, 138); + _gfortran_transfer_character_write (&dt_parm.3, &"-mtune=generic -march=x86-64 -gtoggle -w -fcompare-debug=-gtoggle -fdump-tree-all -fcompare-debug-second -frandom-seed=0x250e943c6552a2d -fdump-final-insns=/tmp/cc7ThHrJ.gk.gkd"[1]{lb: 1 sz: 1}, 176); Clearly the options passed to the compiler are printed in this test, so I'm afraid all we can do is dg-skip-if this test if -fcompare-debug is seen.