rs6000.c (rs6000_init_builtins): Fix type of __vector double TYPE_DECL.
authorJakub Jelinek <jakub@redhat.com>
Fri, 21 Aug 2009 18:39:58 +0000 (20:39 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 21 Aug 2009 18:39:58 +0000 (20:39 +0200)
* config/rs6000/rs6000.c (rs6000_init_builtins): Fix type of
__vector double TYPE_DECL.

From-SVN: r150998

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 0e9d86c..a250853 100644 (file)
@@ -1,3 +1,8 @@
+2009-08-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/rs6000/rs6000.c (rs6000_init_builtins): Fix type of
+       __vector double TYPE_DECL.
+
 2009-08-21  Richard Earnshaw  <rearnsha@arm.com>
 
        * arm.h (MACHMODE): New define.  Include insn-modes.h if available.
index e6481fb..ab209a8 100644 (file)
@@ -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);