Search notes:

gcc -Q

Print function names. Show statistics about compilation passes.
$ echo 'int main() { }' | gcc -xc - -Q
 main
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> {heap 868k} <visibility> {heap 868k} <build_ssa_passes> {heap 868k} <opt_local_passes> {heap 1060k} <remove_symbols> {heap 1060k} <targetclone> {heap 1060k} <free-fnsummary> {heap 1060k}Streaming LTO
 <whole-program> {heap 1060k} <hsa> {heap 1060k} <fnsummary> {heap 1060k} <inline> {heap 1060k} <free-fnsummary> {heap 1060k} <single-use> {heap 1060k} <comdats> {heap 1060k}Assembling functions:
 <materialize-all-clones> {heap 1060k} <simdclone> {heap 1060k} main
Time variable                                   usr           sys          wall               GGC
 phase setup                        :   0.00 (  0%)   0.01 (100%)   0.00 (  0%)    1240 kB ( 86%)
 phase parsing                      :   0.00 (  0%)   0.00 (  0%)   0.13 ( 45%)     132 kB (  9%)
 phase opt and generate             :   0.00 (  0%)   0.00 (  0%)   0.11 ( 38%)      58 kB (  4%)
 callgraph optimization             :   0.00 (  0%)   0.00 (  0%)   0.01 (  3%)       0 kB (  0%)
 callgraph ipa passes               :   0.00 (  0%)   0.00 (  0%)   0.02 (  7%)       5 kB (  0%)
 trivially dead code                :   0.00 (  0%)   0.00 (  0%)   0.01 (  3%)       0 kB (  0%)
 parser (global)                    :   0.00 (  0%)   0.00 (  0%)   0.13 ( 45%)     122 kB (  8%)
 tree eh                            :   0.00 (  0%)   0.00 (  0%)   0.01 (  3%)       0 kB (  0%)
 tree CFG construction              :   0.00 (  0%)   0.00 (  0%)   0.02 (  7%)       1 kB (  0%)
 tree SSA other                     :   0.00 (  0%)   0.00 (  0%)   0.01 (  3%)       0 kB (  0%)
 integrated RA                      :   0.00 (  0%)   0.00 (  0%)   0.01 (  3%)      24 kB (  2%)
 reload                             :   0.00 (  0%)   0.00 (  0%)   0.01 (  3%)       0 kB (  0%)
 final                              :   0.00 (  0%)   0.00 (  0%)   0.01 (  3%)       1 kB (  0%)
 initialize rtl                     :   0.00 (  0%)   0.00 (  0%)   0.01 (  3%)      12 kB (  1%)
 rest of compilation                :   0.00 (  0%)   0.00 (  0%)   0.01 (  3%)       2 kB (  0%)
 TOTAL                              :   0.00          0.01          0.29           1441 kB

See also

-Qn
--help
gcc --help=param -Q shows the parameters's minimal, maximal and default values.
-march: Show enabled/disabled options
GCC options

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759398264, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/C-C-plus-plus/GCC/options/Q/index(74): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78