From 0c94b59f472bf9379ebbc12b1074a7e9ab2e6be9 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 11 Dec 2014 22:37:56 +0000 Subject: [PATCH] * doc/md.texi (Insn Lengths): Fix description of (pc). From-SVN: r218642 --- gcc/ChangeLog | 4 ++++ gcc/doc/md.texi | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0de7443afc..bf3fb854032 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-12-11 Eric Botcazou + + * doc/md.texi (Insn Lengths): Fix description of (pc). + 2014-12-11 Jan Hubicka PR ipa/61324 diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 1c70a77399a..f2dcac95f98 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 -- 2.30.2