This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C compile time
- From: Paul Koning <pkoning at equallogic dot com>
- To: dewar at gnat dot com
- Cc: coyote at coyotegulch dot com, dhazeghi at yahoo dot com, gcc at gcc dot gnu dot org
- Date: Mon, 30 Jun 2003 09:03:12 -0400
- Subject: Re: C compile time
- References: <20030629094550.C374AF2D60@nile.gnat.com>
>>>>> "Robert" == Robert Dewar <dewar@gnat.com> writes:
>> But for the vast majority of working programmers, I simply don't
>> see why optimized compile times are such an issue.
Robert> In our world, we have many customers building very large
Robert> systems that require optimization to be turned on once they
Robert> get past the initial integration stage, so the great majority
Robert> of development work is done in optimized mode. The model
Robert> where you do everything unoptimized and turn on optimization
Robert> for the final build and you are done is not reasonable for
Robert> large critical systems which must be extensively tested in
Robert> essentially final form.
Robert> So for us, -O2 compilation time is indeed critical.
Absolutely. The notion that you do debugging with -O0 and only final
build with -O2 is obsolete -- and actually never was a good one.
If you want reliable software, you have to debug what you ship -- not
something totally different.
paul