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: [PATCH] Fix a pasto in rs6000_init_builtins


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


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