-O and -prof

Ketil Z. Malde ketil@ii.uib.no
16 May 2003 12:06:48 +0200


Hi,

Is there any reason not to use these options in combination?

Out of habit, I don't usually combine them, but it'd probably be more
interesting to do time profiling with optimized code, since the
compiler tend to optimize away some of the more pedestrian stuff on
its own.

When I recently tried this, I got a surprising stack overflow --
surprising, as I don't get that with either option by itself.

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants