5.7.6 Options for Debugging

The options tabulated below control the debugging output produced by the compiler and are discussed in the sections that follow.

Table 5-12. Debugging Options
Option Definition
-f[no-]eliminate-unused-debug-symbols Eliminate debug information associated with any C/C++ symbol that has not been used in the program.
-g Produce debugging information.
-Q Print function names and statistics from each pass.
-save-temps[=dir] Don’t delete intermediate files.