PR c++/28113
authorjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jun 2006 23:33:58 +0000 (23:33 +0000)
committerjanis <janis@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jun 2006 23:33:58 +0000 (23:33 +0000)
* g++.dg/ext/altivec-3.C: Remove cast from vector initializers.

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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/altivec-3.C

index 2533199..461e04c 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-20  Janis Johnson  <janis187@us.ibm.com>
+
+       PR c++/28113
+       * g++.dg/ext/altivec-3.C: Remove cast from vector initializers.
+
 2006-06-20  Steven G. Kargl  <kargls@comcast.net>
 
        * gfortran.dg/rrspacing_1.f90: New test.
index 8ac401c..da029ee 100644 (file)
@@ -23,10 +23,10 @@ struct vfoo { int x; __vector signed int v; int y; };
 union u { __vector signed int v; signed int i[4]; };
 
 struct foo x_g = { 3, 4};
-struct vfoo vx_g = { 10, (vector signed int) {11, 12, 13, 14}, 15 };
-__vector signed int v_g = (vector signed int) {22, 23, 24, 25};
-struct vfoo vx2_g = { 30, (vector signed int) {31, 32, 33, 34}, 35 };
-__vector signed int v2_g = (vector signed int) {40, 41, 42, 43};
+struct vfoo vx_g = { 10, {11, 12, 13, 14}, 15 };
+__vector signed int v_g = {22, 23, 24, 25};
+struct vfoo vx2_g = { 30, {31, 32, 33, 34}, 35 };
+__vector signed int v2_g = {40, 41, 42, 43};
 int i_1 = 99, i_2 = 33;
 double d_2 = 1.5, d_3 = 1.75;
 double ld_1 = 1.25;