This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Missing documentation
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: Missing documentation
- From: Richard Henderson <rth at redhat dot com>
- Date: Sun, 10 Jun 2001 12:54:20 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <20010609125443Z.mitchell@codesourcery.com>
On Sat, Jun 09, 2001 at 12:54:43PM -0700, Mark Mitchell wrote:
> Richard:
>
> -fnon-call-exceptions
> -fpeephole2
Done.
r~
Index: invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.3.2.5
diff -u -p -r1.3.2.5 invoke.texi
--- invoke.texi 2001/06/10 00:39:03 1.3.2.5
+++ invoke.texi 2001/06/10 19:46:50
@@ -262,7 +262,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
-fomit-frame-pointer -foptimize-register-move @gol
-foptimize-sibling-calls -freduce-all-givs @gol
-fregmove -frename-registers @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
@@ -3519,8 +3520,13 @@ We're very interested in code that runs
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
@@ -8876,6 +8882,15 @@ to enable this option when compiling C c
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