GCC: Difference between revisions
No edit summary |
→Useful flags: mention 10.1's -fanalyzer |
||
| Line 2: | Line 2: | ||
* <tt>-fmax-errors=n</tt> print a maximum of n errors, 0 (the default) being unbounded | * <tt>-fmax-errors=n</tt> print a maximum of n errors, 0 (the default) being unbounded | ||
* <tt>-E</tt> to generate preprocessor output, <tt>-s</tt> to generate assembly output | * <tt>-E</tt> to generate preprocessor output, <tt>-s</tt> to generate assembly output | ||
* <tt>-fanalyzer</tt> (since 10.1) to do rich static analysis [https://clearlinux.org/blogs-news/major-improvements-gcc-101 ClearLinux blog] | |||
==Optimization== | ==Optimization== | ||