diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-22 23:17:46 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-22 23:17:46 +0000 |
commit | 1ed8ccdb794c2d80b5a4f994aaf1ea90ff1356f2 (patch) | |
tree | 61fac5e9044077ae9018c6ffa6b7ab8c07fde408 /gcc/doc/rtl.texi | |
parent | 81a5b286608d9a9725109c1518afb7f8291ab915 (diff) | |
download | gcc-1ed8ccdb794c2d80b5a4f994aaf1ea90ff1356f2.tar.gz |
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
Diffstat (limited to 'gcc/doc/rtl.texi')
-rw-r--r-- | gcc/doc/rtl.texi | 9 |
1 files changed, 8 insertions, 1 deletions
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}. |