From 011165968c00e4125dfb9ee132e79f65dbea50c4 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 14 Jul 2009 11:47:46 +0200 Subject: 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]. --- session.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'session.h') diff --git a/session.h b/session.h index 32004410..a617e47f 100644 --- a/session.h +++ b/session.h @@ -135,9 +135,6 @@ struct systemtap_session // Skip bad $ vars bool skip_badvars; - // Optimization flag passed to gcc -O[0123s] - std::string gcc_flags; - // NB: It is very important for all of the above (and below) fields // to be cleared in the systemtap_session ctor (elaborate.cxx) // and/or main.cxx(main). -- cgit