From 1ed8ccdb794c2d80b5a4f994aaf1ea90ff1356f2 Mon Sep 17 00:00:00 2001 From: rth Date: Tue, 22 Apr 2003 23:17:46 +0000 Subject: 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65967 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/doc/rtl.texi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gcc/doc/rtl.texi') diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index 8368b49f39c..8a97a5d2e0b 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}. -- cgit v1.2.1