aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-06-10 12:55:57 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-06-10 12:55:57 -0700
commit6cfc03411c64d74e2e5d707b6635aed85620595f (patch)
treefd02897b9f091f029472ba0bbdf985878ce2fc18
parent0bdcca681d9bb477bf1288a1d0a9d06b2af02952 (diff)
downloadgcc-6cfc03411c64d74e2e5d707b6635aed85620595f.zip
gcc-6cfc03411c64d74e2e5d707b6635aed85620595f.tar.gz
gcc-6cfc03411c64d74e2e5d707b6635aed85620595f.tar.bz2
invoke.texi (Optimization Options): Document -fpeephole2.
* doc/invoke.texi (Optimization Options): Document -fpeephole2. (Code Generation Options): Document -fnon-call-exceptions. From-SVN: r43151
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi21
2 files changed, 23 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9dbe6ef..fed2545 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-10 Richard Henderson <rth@redhat.com>
+
+ * doc/invoke.texi (Optimization Options): Document -fpeephole2.
+ (Code Generation Options): Document -fnon-call-exceptions.
+
2001-06-10 Mark Kettenis <kettenis@gnu.org>
* config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 0591979..ad4bbfe 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