This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix a pasto in rs6000_init_builtins
- From: Michael Meissner <meissner at linux dot vnet dot ibm dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Michael Meissner <meissner at linux dot vnet dot ibm dot com>, David Edelsohn <dje dot gcc at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 21 Aug 2009 14:16:21 -0400
- Subject: Re: [PATCH] Fix a pasto in rs6000_init_builtins
- References: <20090821113235.GQ4462@tyan-ft48-01.lab.bos.redhat.com>
On Fri, Aug 21, 2009 at 01:32:35PM +0200, Jakub Jelinek wrote:
> Hi!
>
> While backporting power7 commits, I've noticed something that looks like a
> pasto to me.
>
> 2009-08-21 Jakub Jelinek <jakub@redhat.com>
>
> * config/rs6000/rs6000.c (rs6000_init_builtins): Fix type of
> __vector double TYPE_DECL.
>
> --- gcc/config/rs6000/rs6000.c.jj 2009-08-19 17:46:10.000000000 +0200
> +++ gcc/config/rs6000/rs6000.c 2009-08-21 13:29:33.000000000 +0200
> @@ -10994,7 +10994,7 @@ rs6000_init_builtins (void)
> {
> tdecl = build_decl (BUILTINS_LOCATION,
> TYPE_DECL, get_identifier ("__vector double"),
> - unsigned_V2DI_type_node);
> + V2DF_type_node);
> TYPE_NAME (V2DF_type_node) = tdecl;
> (*lang_hooks.decls.pushdecl) (tdecl);
>
>
> Jakub
Yes, that looks like a cut+paste error to me. Thanks.
--
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com