diff mbox

Fix JUMP_LABEL documentation

Message ID 20160920185141.GB24184@gate.crashing.org
State New
Headers show

Commit Message

Segher Boessenkool Sept. 20, 2016, 6:51 p.m. UTC
On Tue, Sep 20, 2016 at 12:11:45PM -0500, Segher Boessenkool wrote:
> I'm just pointing out the documentation is out-of-date here.  I'll do
> a patch.

Like this.  Okay for trunk, 6, 5?

Thanks,


Segher


2016-09-20  Segher Boessenkool  <segher@kernel.crashing.org>

	* doc/rtl.texi (JUMP_LABEL): Document RETURN and SIMPLE_RETURN values.

---
 gcc/doc/rtl.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Bernd Schmidt Sept. 21, 2016, 12:11 p.m. UTC | #1
On 09/20/2016 08:51 PM, Segher Boessenkool wrote:
>
> 	* doc/rtl.texi (JUMP_LABEL): Document RETURN and SIMPLE_RETURN values.

Ok, thanks.


Bernd
diff mbox

Patch

diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index 1b3f47e..692d9b5 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -3525,8 +3525,8 @@  and @code{addr_diff_vec}, where @code{JUMP_LABEL} is @code{NULL_RTX}
 and the only way to find the labels is to scan the entire body of the
 insn.
 
-Return insns count as jumps, but since they do not refer to any
-labels, their @code{JUMP_LABEL} is @code{NULL_RTX}.
+Return insns count as jumps, but their @code{JUMP_LABEL} is @code{RETURN}
+or @code{SIMPLE_RETURN}.
 
 @findex call_insn
 @item call_insn