Change in preprocessor behavior

Dave Blanchard
Tue Jun 21 00:34:18 GMT 2022

At some point between GCC 9 and GCC 12, the preprocessor started behaving differently. Before if GCC were launched as /lib/cpp or /usr/bin/cpp (I think) it would assume the user wanted to preprocess something and automatically launch in preprocessor mode. Now the behavior has changed and it just acts as the normal compiler. Can someone kindly point me to the patch or commit where this feature was changed, and the rationale for doing so? Thank you.

Dave Blanchard <>

More information about the Gcc mailing list