[Bug c/29092] vector int a = (vector int) { 1,1,2,2} is rejected as non constant

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 14 23:06:00 GMT 2006



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-09-14 23:05 -------
(In reply to comment #0)
> If I used a typedef instead, it works.
In that the following works:
typedef vector int vec_int;
vec_int a = (vec_int){1, 2, 0, 0};


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29092



More information about the Gcc-bugs mailing list