Does gprof work with -O3? I'm getting very strange results trying to use gprof on code compiled with -O3 egcs-1.0.2.