This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: hook doc patch (3/112): TARGET_EH_RETURN_FILTER_MODE (revised)
- From: Joern Rennecke <joern dot rennecke at embecosm dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 04 Feb 2010 19:36:01 -0500
- Subject: RFA: hook doc patch (3/112): TARGET_EH_RETURN_FILTER_MODE (revised)
- References: <20100119021506.6c5swgurkwc4wo0s-nzlynne@webmail.spamcop.net> <Pine.LNX.4.64.1001261108060.18999@digraph.polyomino.org.uk>
Quoting "Joseph S. Myers" <joseph@codesourcery.com>:
TARGET_EH_RETURN_FILTER_MODE
http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00713.html
More explanation or cross-reference is needed for what "filter value"
means.
2010-02-05 Joern Rennecke <joern.rennecke@embecosm.com>
* doc/tm.texi (TARGET_EH_RETURN_FILTER_MODE): Document.
Index: doc/tm.texi
===================================================================
--- doc/tm.texi (revision 156503)
+++ doc/tm.texi (working copy)
@@ -866,6 +866,14 @@ chance to display extra information on t
line options found in its @file{.opt} file.
@end deftypefn
+@deftypefn {Target Hook} {enum machine_mode} TARGET_EH_RETURN_FILTER_MODE (void)
+Return the machine mode for filter values, which encode the type of an
+exception, and are processed by @code{GIMPLE_CATCH} and @code{GIMPLE_EH_FILTER}
+statements.
+The default is to return the same value as @code{TARGET_UNWIND_WORD_MODE}.
+@xref{GIMPLE Exception Handling}.
+@end deftypefn
+
@defmac CAN_DEBUG_WITHOUT_FP
Define this macro if debugging can be performed even without a frame
pointer. If this macro is defined, GCC will turn on the