"Johan Kullstam" <email@example.com> writes:
> Matthias Andree <firstname.lastname@example.org> writes:
> > Andreas Schwab <email@example.com> writes:
> > > Because the only difference between -O2 and -O3 is -finline-functions,
> > > which is bad for the kernel sources (which wants to control inlining
> > > explicitly).
> > Which could OTOH be defeated explicitly by means of
> > -fno-inline-functions, could not it?
> sure, but what exactly would be the point? the compile command line
> is already long enough without this completely gratuitous bloat.
And it would be gratuitous. Unlike -O2, which switches on optimizations
that are not controllable by any -f flag, the *only* effect of -O3 is to
turn on -finline-functions. So doing -O3 when you don't want automatic
function inlining is wrong.
-- `People's needs are not `finance'. You can't eat a bank.' --- Alan Rosenthal
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:18 EST