OSDN Git Service

* gcc.target/powerpc/altivec-23.c: Do not use a typedef name as a
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Nov 2007 09:56:39 +0000 (09:56 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Nov 2007 09:56:39 +0000 (09:56 +0000)
type specifier, as they are not permitted according to the AltiVec
Programming Interface Manual.

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/altivec-23.c

index fcf6395..62d039e 100644 (file)
@@ -1,3 +1,9 @@
+2007-11-18  Ben Elliston  <bje@au.ibm.com>
+
+       * gcc.target/powerpc/altivec-23.c: Do not use a typedef name as a
+       type specifier, as they are not permitted according to the AltiVec
+       Programming Interface Manual.
+
 2007-11-17  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/34133
index c8851a4..3b039f7 100644 (file)
@@ -8,9 +8,8 @@
 
 #include <altivec.h>
 
-typedef int bt;
-typedef vector bt vt;
-typedef struct { vt x; bt y[sizeof(vt) / sizeof (bt)]; } st;
+typedef vector int vt;
+typedef struct { vt x; int y[sizeof(vt) / sizeof (int)]; } st;
 #define INIT { 1, 2, 3, 4 }
 
 void f ()