https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40503
--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> --- Now that I have access to the gcc compile farm, I can try this testcase. It compiles successfully for me without warning and prints the following output: egallager@gcc12:~$ /opt/cfarm/gcc-latest/bin/gcc -Wall -Wextra -o 40503.exe 40503.c egallager@gcc12:~$ ./40503.exe DEC_EVAL_METHOD=2 j=35 '*' done as if DEC_EVAL_METHOD=2 '/' done as if DEC_EVAL_METHOD=2 j=34 '+' done as if DEC_EVAL_METHOD=2 j=7 '+' done as if DEC_EVAL_METHOD=0 j=34 '-' done as if DEC_EVAL_METHOD=2 j=7 '-' done as if DEC_EVAL_METHOD=0 egallager@gcc12:~$ Is this expected?