aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/rtl.texi
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-04-22 16:17:46 -0700
committerRichard Henderson <rth@gcc.gnu.org>2003-04-22 16:17:46 -0700
commit4da2eb6b9026e71f167204bc7ced622f44c70a1e (patch)
tree61fac5e9044077ae9018c6ffa6b7ab8c07fde408 /gcc/doc/rtl.texi
parentc1238896d34055a41d31f4e5b6a9678759eb8500 (diff)
downloadgcc-4da2eb6b9026e71f167204bc7ced622f44c70a1e.zip
gcc-4da2eb6b9026e71f167204bc7ced622f44c70a1e.tar.gz
gcc-4da2eb6b9026e71f167204bc7ced622f44c70a1e.tar.bz2
re PR middle-end/8866 (Bug in switch statement code generation -- missing label)
PR 8866 * rtl.h (MEM_NOTRAP_P): New. (MEM_COPY_ATTRIBUTES): Copy it. * rtlanal.c (may_trap_p): Check it. * expr.c (do_tablejump): Set it. * doc/rtl.texi (Flags): Document it. * cfgrtl.c (try_redirect_by_replacing_jump): Revert last three changes. From-SVN: r65967
Diffstat (limited to 'gcc/doc/rtl.texi')
-rw-r--r--gcc/doc/rtl.texi9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index 8368b49..8a97a5d 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -630,6 +630,13 @@ In @code{mem}, @code{asm_operands}, and @code{asm_input} expressions,
nonzero for volatile memory references.
Stored in the @code{volatil} field and printed as @samp{/v}.
+@findex MEM_NOTRAP_P
+@cindex @code{mem} and @samp{/c}
+@cindex @code{call}, in @code{mem}
+@item MEM_NOTRAP_P (@var{x})
+In @code{mem}, nonzero for memory references that will not trap.
+Stored in the @code{call} field and printed as @samp{/c}.
+
@findex REG_FUNCTION_VALUE_P
@cindex @code{reg} and @samp{/i}
@cindex @code{integrated}, in @code{reg}
@@ -847,7 +854,7 @@ These are the fields to which the above macros refer:
@findex call
@cindex @samp{/c} in RTL dump
@item call
-This flag is currently unused.
+In a @code{mem}, 1 means that the memory reference will not trap.
In an RTL dump, this flag is represented as @samp{/c}.