This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Typo in GCC Internals documentation.
- From: Marek Polacek <polacek at redhat dot com>
- To: Nicklas Bo Jensen <nbjensen at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 23 Jul 2013 12:01:52 +0200
- Subject: Re: Typo in GCC Internals documentation.
- References: <CAMDjE1MjFZfAUQG_dvqF+OqqbxYF+dUyXmisarz9OWB6C=hzEQ at mail dot gmail dot com>
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