aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2014-12-11 22:37:56 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2014-12-11 22:37:56 +0000
commit0c94b59f472bf9379ebbc12b1074a7e9ab2e6be9 (patch)
tree066a29962d6198a767a5025a1e57555ca66b10cb /gcc
parent3334c725640bd74923323e9e728d348ff7ae7c5d (diff)
downloadgcc-0c94b59f472bf9379ebbc12b1074a7e9ab2e6be9.zip
gcc-0c94b59f472bf9379ebbc12b1074a7e9ab2e6be9.tar.gz
gcc-0c94b59f472bf9379ebbc12b1074a7e9ab2e6be9.tar.bz2
* doc/md.texi (Insn Lengths): Fix description of (pc).
From-SVN: r218642
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/md.texi6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c0de744..bf3fb85 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-11 Eric Botcazou <ebotcazou@adacore.com>
+
+ * doc/md.texi (Insn Lengths): Fix description of (pc).
+
2014-12-11 Jan Hubicka <hubicka@ucw.cz>
PR ipa/61324
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 1c70a77..f2dcac9 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -8330,9 +8330,9 @@ must be a @code{label_ref}.
@cindex @code{pc} and attributes
@item (pc)
-This refers to the address of the @emph{current} insn. It might have
-been more consistent with other usage to make this the address of the
-@emph{next} insn but this would be confusing because the length of the
+For non-branch instructions and backward branch instructions, this refers
+to the address of the current insn. But for forward branch instructions,
+this refers to the address of the next insn, because the length of the
current insn is to be computed.
@end table