From 53b8e5c1608b8311cb12839a51a6c8fcf24fb4b7 Mon Sep 17 00:00:00 2001 From: neil Date: Tue, 8 Jul 2003 05:25:39 +0000 Subject: * Makefile.in: Update. * c-opts.c (c_common_handle_option): opt_text now contains the '-'. * c.opt: Update documentation. * common.opt: Add some help text. * opts.c: Include intl.h. (wrap_help, print_help): New. (find_opt, handle_option, common_handle_option): opt_text now contains the '-'. Use print_help to output help. * opts.h (struct cl_option): New member "help". * opts.sh: Update to handle help text output and to prepend options with '-'. * toplev.c (display_help): Remove some help text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69068 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/common.opt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gcc/common.opt') diff --git a/gcc/common.opt b/gcc/common.opt index 347b59f2483..e1228c0672c 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -24,6 +24,7 @@ -help Common +Display this information -param Common Separate @@ -36,12 +37,15 @@ Common G Common Joined Separate UInteger +-G Put global and static data smaller than bytes into a special section (on some targets) O Common JoinedOrMissing +-O Set optimization level to Os Common +Optimize for space rather than speed W Common RejectNegative @@ -63,12 +67,14 @@ Common Wextra Common +Print extra (possibly unwanted) warnings Winline Common Wlarger-than- Common RejectNegative Joined UInteger +-Wlarger-than- Warn if an object is larger than bytes Wmissing-noreturn Common @@ -105,6 +111,7 @@ Common Wunused Common +Enable all -Wunused- warnings Wunused-function Common @@ -123,6 +130,7 @@ Common aux-info Common Separate +-aux-info Emit declaration information into aux-info= Common Joined @@ -135,9 +143,11 @@ Common Separate d Common Joined +-d Enable dumps from specific passes of the compiler dumpbase Common Separate +-dumpbase Set the file basename to be used for dumps fPIC Common @@ -198,9 +208,11 @@ Common fcall-saved- Common Joined RejectNegative +-fcall-saved- Mark as being preserved across functions fcall-used- Common Joined RejectNegative +-fcall-used- Mark as being corrupted by function calls fcaller-saves Common @@ -234,6 +246,7 @@ Common fdiagnostics-show-location= Common Joined RejectNegative +-fdiagnostics-show-location=[once|every-line] How often to emit source location at the beginning of line-wrapped diagnostics fdump-unnumbered Common @@ -261,6 +274,7 @@ Common ffixed- Common Joined RejectNegative +-ffixed- Mark as being unavailable to the compiler ffloat-store Common @@ -315,6 +329,7 @@ Common RejectNegative Joined UInteger finline-limit= Common RejectNegative Joined UInteger +-finline-limit= Limit the size of inlined functions to finstrument-functions Common @@ -345,6 +360,7 @@ Common fmessage-length= Common RejectNegative Joined UInteger +-fmessage-length= Limit diagnostics to characters per line. 0 suppresses line-wrapping fmove-all-movables Common @@ -405,6 +421,7 @@ Common frandom-seed= Common Joined RejectNegative +-frandom-seed= Make compile reproducible using freduce-all-givs Common @@ -444,6 +461,7 @@ Common fsched-verbose= Common RejectNegative Joined +-fsched-verbose= Set the verbosity level of the scheduler fsched2-use-superblocks Common @@ -483,9 +501,11 @@ Common fstack-limit-register= Common RejectNegative Joined +-fstack-limit-register= Trap if the stack goes past fstack-limit-symbol= Common RejectNegative Joined +-fstack-limit-symbol= Trap if the stack goes past symbol fstrength-reduce Common @@ -507,6 +527,7 @@ Common ftls-model= Common Joined RejectNegative +-ftls-model=[global-dynamic|local-dynamic|initial-exec|local-exec] Set the default thread-local storage code generation model ftracer Common @@ -555,23 +576,30 @@ Common Joined o Common Joined Separate +-o Place output into p Common +Enable function profiling pedantic Common +Issue warnings needed for strict compliance to the standard pedantic-errors Common +Like -pedantic but issue them as errors quiet Common +Do not display functions compiled or elapsed time version Common +Display the compiler's version w Common +Suppress warnings ; This comment is to ensure we retain the blank line above. -- cgit v1.2.1