https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63837
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Here's a testcase: markus@x4 tmp % GCC_COMPARE_DEBUG=1 gcc -Wpointer-sign -c -x c /dev/null cc1: fatal error: input file ‘/dev/null’ is the same as output file compilation terminated. gcc: error: during -fcompare-debug recompilation markus@x4 tmp % GCC_COMPARE_DEBUG=0 gcc -Wpointer-sign -c -x c /dev/null (4.9 is fine) markus@x4 tmp % GCC_COMPARE_DEBUG=1 gcc -Wpointer-sign -c -x c /dev/null markus@x4 tmp %