re PR c++/28113 (vectors initialized in ctors, not at compile time, cause altivec-3.C failure)

PR c++/28113
	* g++.dg/ext/altivec-3.C: Remove cast from vector initializers.

From-SVN: r114832
This commit is contained in:
Janis Johnson 2006-06-20 23:33:58 +00:00 committed by Janis Johnson
parent 463c5ee5f0
commit 7130be3970
2 changed files with 9 additions and 4 deletions

View 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.

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