From: Eric Botcazou Date: Thu, 11 Dec 2014 22:39:34 +0000 (+0000) Subject: * doc/md.texi (Insn Lengths): Fix description of (pc). X-Git-Tag: releases/gcc-4.8.4~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=520adccd35e8df2d0cc89a01c84af871c2e0bbcb;p=thirdparty%2Fgcc.git * doc/md.texi (Insn Lengths): Fix description of (pc). From-SVN: r218644 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 11c2e3502f1b..b5ff154ba543 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-10 Bill Schmidt Backport from mainline diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 000b93a60e1f..02283b3204c6 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -8172,9 +8172,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