OSDN Git Service

* config/rs6000/rs6000.c (rs6000_init_builtins): Fix type of
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Aug 2009 18:39:58 +0000 (18:39 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 21 Aug 2009 18:39:58 +0000 (18:39 +0000)
__vector double TYPE_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150998 138bc75d-0d04-0410-961f-82ee72b054a4

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);