Jump to content

Useful GCC compiler flags: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

16 March 2026

  • curprev 15:5615:56, 16 March 2026 WikiSysop talk contribs 1,305 bytes +1,305 Created page with "{| class="wikitable" |+ !Flag !What it does |- | -O2 |Turn on all optional optimisations except or loop unrolling, function inlining, and strict aliasing optimizations |- | -pipe |Speeds up compilation (has no effect on outputted file). Tells the compiler to use pipes rather than temporary files |- | -Wall |Enable all compiler warnings (helps to spot potentially troublesome code) |- | -Wextra |Print extra warning messages, specifically: A pointer is compared..." Tag: Visual edit