This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C compile time


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]