Thanks. I tested the exact submitted patch, commit 11905168b920c34ac2c4cebebf786b52836294c0, against the unmodified baseline at f311d59c4d45f5042029647c88966e2e48330adf.
For the native testing, build, host, and target were all x86_64-pc-linux-gnu. I configured both trees with: configure --disable-multilib and ran: make -j8 bootstrap make -j8 -k check The bootstrap and complete testsuite run finished successfully. Comparing the generated .sum files against the baseline showed no new FAIL, XPASS, ERROR, or UNRESOLVED results. The seven pre-existing unexpected outcomes were identical between the baseline and patched trees. I also built a C/LTO cross compiler with build and host x86_64-pc-linux-gnu and target aarch64-unknown-linux-gnu. The new gcc.dg/pr127422.c regression test passes with the patch. The testcase reproduces the -fcompare-debug failure on the unmodified compiler and passes after the change. I do not have GCC write access, so I would appreciate it if someone could commit the patch if the testing is sufficient.
