diff options
author | bde <bde@FreeBSD.org> | 2007-06-13 06:17:48 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2007-06-13 06:17:48 +0000 |
commit | 43613ee4edc241e9a29308f32f760f4342026e13 (patch) | |
tree | 80a49e4eb1222c7a847d72ab2542d790e4d93843 /rescue | |
parent | 0630c4e3a422fc62cbc56d28059df823962b557e (diff) | |
download | FreeBSD-src-43613ee4edc241e9a29308f32f760f4342026e13.zip FreeBSD-src-43613ee4edc241e9a29308f32f760f4342026e13.tar.gz |
Unbreak high resolution profiling a little: use dummy asms to prevent
timing loops being optimized away.
Once apon a time, gcc promised not to optimize away timing loops, but
gcc started optimizing away the call to a null function in the timing
loop here some time between gcc-3.3.3 and gcc-3.4.6, and it started
optimizing away the timing loop itself some time between gcc-3.4.6
and gcc-4.2.
Diffstat (limited to 'rescue')
0 files changed, 0 insertions, 0 deletions