Official docs outline
12 sections- GCC manual
Index of the GNU Compiler Collection manual.
- Invoking GCC
Compilation stages and the grouped options.
- Optimization options
-O levels, LTO and inlining flags.
- Warning options
-Wall, -Wextra and specific warnings.
- Debugging options
-g, -ggdb and DWARF output.
- Instrumentation options
-fsanitize, -pg and coverage flags.
- Link options
-l, -L, -static, -shared and -Wl pass-through.
- Function attributes
noreturn, always_inline, unused, constructor and visibility attributes.
- Extended asm
Inline assembly with operands and clobbers.
- C extensions
Statement expressions, typeof, designated initializers and builtins.
- Preprocessor options
-D, -I, -E and dependency generation with -MMD.
- GCC internals
GIMPLE, RTL, pass manager and machine descriptions.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.