My favorite C compiler flags during development
I recommend `-fanalyzer` with GCC. I haven't found out how to use Clang's static analyzer.GCC now has this elaborate (kind of beautiful) way of highlighting a path through your code which leads to a potential oopsie like use after free.`-fno-omit-frame-pointer` has been useful for profiling using perf.