5.7.5.1 Syntax-only Option

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