Date: Fri, 13 Jan 95 12:24:49 -0500 From: dj AT stealth DOT ctron DOT com (DJ Delorie) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: gcc = gcc -O2 ? I've been asked whether it would be a Good Thing for "gcc" to default to "gcc -O2" rather than "gcc -O0", so that if you didn't specify anything, you would get optimization by default. The reason is that so you would, by default, get faster programs and thus better benchmarks, at the cost of slower compiles. You would still be able to use "gcc -O0" to shut off optimization. This came up because someone thought that most PC compilers, by default, optimized, so gcc should also. Comments? Should -g imply -O0 as the default? DJ