Search notes:

gcc -O

Specify optimization;
-O0 (Oh zero): Optimize for compilation time (which is the default optimization mode)
-O1 Try to reduce code size and execution time without increasing compilation time too much. (equal to -O)
-O2 Optimize more
-O3 Optimize even more
-Os Optimize for size. See also -fomit-frame-pointer.
-oz Opimize more aggresively for size than with -Os. Introduced with GCC 12.1
-Ofast implies -O3 -ffast-math -fno-protect-parens -fallow-store-data-races -fstack-arrays -fno-semantic-interposition
-Og Optimize for debugging. -Og does not imply -g.
Depending on the optimization level chosen, some compilatin flags (which can be controlled with the -f… option are automatically enabled.

See also

-O is not the same as the lowercase -o option.
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...', 1758206774, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/C-C-plus-plus/GCC/options/O_uppercase/index(54): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78