This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Pass 4 (non-)optimization speedup
On Tue, 2009-07-14 at 00:35 +0200, Mark Wielaard wrote:
> So, I made the default the kernel opt-level one again (which is -O2 or
> -Os depending on CONFIG_CC_OPTIMIZE_FOR_SIZE).
>
> This is really a shame, gcc is really a lot slower compiling with -O2.
> It would be good to find some other way to make pass 4 quicker by
> default.
Actually I now removed all the support again for changing the opt-level.
If we cannot guarantee that the code compiles and/or generates correctly
functioning code we are better off not officially supporting it :{
I left some comments in buildrun.cxx for those wanting to edit the
sources to experiment with it anyway.
Sniff,
Mark