aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2016-09-21 19:48:47 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2016-09-21 19:48:47 +0200
commit18e15e303af1184973bbe35547602567303fa6fe (patch)
treea30415d9da505592bc8fbd743e5fc6bbb7bf684d
parentb641f833bac3fe7e57f98f68f645aa63eb614d0a (diff)
downloadgcc-18e15e303af1184973bbe35547602567303fa6fe.zip
gcc-18e15e303af1184973bbe35547602567303fa6fe.tar.gz
gcc-18e15e303af1184973bbe35547602567303fa6fe.tar.bz2
Fix JUMP_LABEL documentation
* doc/rtl.texi (JUMP_LABEL): Document RETURN and SIMPLE_RETURN values. From-SVN: r240325
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/rtl.texi4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7fb1058..330d9fd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2016-09-21 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * doc/rtl.texi (JUMP_LABEL): Document RETURN and SIMPLE_RETURN values.
+
2016-09-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR tree-optimization/77550
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