This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Typo in GCC Internals documentation.


On Tue, Jul 23, 2013 at 11:32:39AM +0200, Nicklas Bo Jensen wrote:
> Hi,
> 
> Found a typo in the GCC Internals documentation in one of the code
> examples in 16.18.2 RTL to RTL Peephole Optimizers.

Thanks, looks good, though the ChangeLog entry is missing, so
something like:

2013-07-23  Nicklas Bo Jensen  <nbjensen@gmail.com>

	* doc/md.texi (Machine-Specific Peephole Optimizers): Fix a typo.

> Best,
> Nicklas
> 
> Index: gcc/doc/md.texi
> ===================================================================
> --- gcc/doc/md.texi (revision 201156)
> +++ gcc/doc/md.texi (working copy)
> @@ -7578,7 +7578,7 @@
>    "/* @r{determine 1 does not overlap 0 and 2} */"
>    [(set (match_dup 4) (match_dup 1))
>     (set (match_dup 0) (match_dup 4))
> -   (set (match_dup 2) (match_dup 4))]
> +   (set (match_dup 2) (match_dup 4))
>     (set (match_dup 3) (match_dup 4))]
>    "")
>  @end smallexample

	Marek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]