summaryrefslogtreecommitdiffstats
path: root/hash.cxx
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-07-14 11:47:46 +0200
committerMark Wielaard <mjw@redhat.com>2009-07-14 11:47:46 +0200
commit011165968c00e4125dfb9ee132e79f65dbea50c4 (patch)
tree1f81918af2c85ce8e0d0dddb0e5132c03085f1a2 /hash.cxx
parentec6fdef5a46f450c8b7a52b491de6a17155101df (diff)
downloadsystemtap-steved-011165968c00e4125dfb9ee132e79f65dbea50c4.tar.gz
systemtap-steved-011165968c00e4125dfb9ee132e79f65dbea50c4.tar.xz
systemtap-steved-011165968c00e4125dfb9ee132e79f65dbea50c4.zip
Remove -O[0123s] gcc optimization flags for gcc pass 4 speedups again.
We cannot guarantee that (un)optimized code compiles and/or generates fully functional code, so don't tempt the user to try it out. * session.h (struct systemtap_session): Remove gcc_flags string field. * hash.cxx (find_script_hash): Don't add gcc_flags. * main.cxx (usage): Remove -O[0123s] documentation. (main): Don't use gcc_flags. * buildrun.cxx (compile_pass): Don't add gcc_flags to EXTRA_CFLAGS. * stap1.in: Remove -O[0123s] documentation. * testsuite/systemtap.base/cache.exp: Remove tests for -O[0123s].
Diffstat (limited to 'hash.cxx')
-rw-r--r--hash.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/hash.cxx b/hash.cxx
index 4e85ed28..45ae05eb 100644
--- a/hash.cxx
+++ b/hash.cxx
@@ -175,7 +175,6 @@ find_script_hash (systemtap_session& s, const string& script, const hash &base)
h.add(s.ignore_dwarf); // --ignore-dwarf
h.add(s.consult_symtab); // --kelf, --kmap
h.add(s.skip_badvars); // --skip-badvars
- h.add(s.gcc_flags); // -O[0123s]
if (!s.kernel_symtab_path.empty()) // --kmap
{
h.add(s.kernel_symtab_path);