From: ebotcazou Date: Thu, 11 Dec 2014 22:37:56 +0000 (+0000) Subject: * doc/md.texi (Insn Lengths): Fix description of (pc). X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a65ee6424787dcf748aa4a27926a874a0f6ef50;p=thirdparty%2Fgcc.git * doc/md.texi (Insn Lengths): Fix description of (pc). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218642 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0de7443afc7..bf3fb8540322 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 1c70a77399ab..f2dcac95f981 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