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  <nbjen...@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

Reply via email to