From: Richard Henderson Date: Sun, 10 Jun 2001 19:55:57 +0000 (-0700) Subject: invoke.texi (Optimization Options): Document -fpeephole2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6cfc03411c64d74e2e5d707b6635aed85620595f;p=gcc.git invoke.texi (Optimization Options): Document -fpeephole2. * doc/invoke.texi (Optimization Options): Document -fpeephole2. (Code Generation Options): Document -fnon-call-exceptions. From-SVN: r43151 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9dbe6efb1c4..fed2545f440 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-06-10 Richard Henderson + + * doc/invoke.texi (Optimization Options): Document -fpeephole2. + (Code Generation Options): Document -fnon-call-exceptions. + 2001-06-10 Mark Kettenis * config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0591979f834..ad4bbfe70dc 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -263,7 +263,7 @@ in the following sections. -fkeep-static-consts -fmove-all-movables @gol -fno-default-inline -fno-defer-pop @gol -fno-function-cse -fno-guess-branch-probability @gol --fno-inline -fno-math-errno -fno-peephole @gol +-fno-inline -fno-math-errno -fno-peephole -fno-peephole2 @gol -funsafe-math-optimizations -fno-trapping-math @gol -fomit-frame-pointer -foptimize-register-move @gol -foptimize-sibling-calls -freduce-all-givs @gol @@ -582,7 +582,8 @@ in the following sections. @xref{Code Gen Options,,Options for Code Generation Conventions}. @gccoptlist{ -fcall-saved-@var{reg} -fcall-used-@var{reg} @gol --fexceptions -funwind-tables -ffixed-@var{reg} @gol +-ffixed-@var{reg} -fexceptions @gol +-fnon-call-exceptions -funwind-tables @gol -finhibit-size-directive -finstrument-functions @gol -fcheck-memory-usage -fprefix-function-name @gol -fno-common -fno-ident -fno-gnu-linker @gol @@ -3587,8 +3588,13 @@ We're very interested in code that runs @emph{slower} when these options are @emph{enabled}. @item -fno-peephole +@itemx -fno-peephole2 @opindex fno-peephole -Disable any machine-specific peephole optimizations. +@opindex fno-peephole2 +Disable any machine-specific peephole optimizations. The difference +between @samp{-fno-peephole} and @samp{-fno-peephole2} is in how they +are implemented in the compiler; some targets use one, some use the +other, a few use both. @item -fbranch-probabilities @opindex fbranch-probabilities @@ -8915,6 +8921,15 @@ properly with exception handlers written in C++. You may also wish to disable this option if you are compiling older C++ programs that don't use exception handling. +@item -fnon-call-exceptions +@opindex fnon-call-exceptions +Generate code that allows trapping instructions to throw exceptions. +Note that this requires platform-specific runtime support that does +not exist everywhere. Moreover, it only allows @emph{trapping} +instructions to throw exceptions, i.e. memory references or floating +point instructions. It does not allow exceptions to be thrown from +arbitrary signal handlers such as @code{SIGALRM}. + @item -funwind-tables @opindex funwind-tables Similar to @option{-fexceptions}, except that it will just generate any needed