diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-07-14 00:30:55 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-07-14 00:30:55 +0200 |
commit | ec6fdef5a46f450c8b7a52b491de6a17155101df (patch) | |
tree | d1e2c6ff95f381826f7f94e43a688c6a9951d6b0 /testsuite/systemtap.base | |
parent | 4a4edc21a14792a4cc240b601912734027945ae8 (diff) | |
download | systemtap-steved-ec6fdef5a46f450c8b7a52b491de6a17155101df.tar.gz systemtap-steved-ec6fdef5a46f450c8b7a52b491de6a17155101df.tar.xz systemtap-steved-ec6fdef5a46f450c8b7a52b491de6a17155101df.zip |
Make kernel opt-level the default again.
* main.cxx (main): Default gcc_flags to kernel opt-level (empty).
* buildrun.cxx (compile_pass): Add -freorder-blocks back, document choices.
* stap.1.in: Document new default opt-level.
* testsuite/systemtap.base/cache.exp: Adjust for new caching results.
Diffstat (limited to 'testsuite/systemtap.base')
-rw-r--r-- | testsuite/systemtap.base/cache.exp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/systemtap.base/cache.exp b/testsuite/systemtap.base/cache.exp index e70f3334..8b4cb4e6 100644 --- a/testsuite/systemtap.base/cache.exp +++ b/testsuite/systemtap.base/cache.exp @@ -105,10 +105,11 @@ stap_compile TIMING2 [F_CACHED_COMPILE] $basic_script1 -t # Using '-O[0123s]' (C compile optimizations) should change the hash # unless they are the same stap_compile OPTO [F_UNCACHED_COMPILE] $basic_script1 -O -# -O0 is the default, so will have been cached by BASIC1 -stap_compile OPTZERO [F_CACHED_COMPILE] $basic_script1 -O0 +stap_compile OPTZERO [F_UNCACHED_COMPILE] $basic_script1 -O0 # -O is an alias for -O1, so already cached stap_compile OPTONE [F_CACHED_COMPILE] $basic_script1 -O1 +# Either -O2 or -Os could be the kernel opt-level default, +# so don't assume either is already there. stap_compile OPTTWO [F_UNCACHED_COMPILE] $basic_script1 -O2 stap_compile OPTTHREE [F_UNCACHED_COMPILE] $basic_script1 -O3 stap_compile OPTSMALL [F_UNCACHED_COMPILE] $basic_script1 -Os |