3.6.4.3 Syntax-only Option

The -fsyntax-only option checks the C source code for syntax errors, then terminates the compilation.

The -fno-syntax-only form of this option performs a full compilation, which is the default action if this option is not specified.