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]. --- stap.1.in | 8 -------- 1 file changed, 8 deletions(-) (limited to 'stap.1.in') diff --git a/stap.1.in b/stap.1.in index 79727297..7736a612 100644 --- a/stap.1.in +++ b/stap.1.in @@ -183,14 +183,6 @@ Send standard output to named file. In bulk mode, percpu files will start with FILE_ (FILE_cpu with -F) followed by the cpu number. This supports strftime(3) formats for FILE. .TP -.BI \-O[0123s] -Optimization to use for C code. Passed to gcc in pass 4. -O is an -alias for -O1, -O0 enables fast compilation, -O1 optimizes the code and -takes a bit more time, -O2 optimizes more and takes more time, -O3 -optimizes even more and takes even more time, -Os optimizes for size, -like -O2 but tuned for small code size. Default is the kernel opt-level -default (-O2 or -Os). -.TP .BI \-c " CMD" Start the probes, run CMD, and exit when CMD finishes. .TP -- cgit