This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Failure of test g++.dg/init/array10.C


I have been working though the irix failures for 3.4.  
Test g++.dg/init/array10.C fails on most platforms with 

	[...]/array10.C:5: error: ISO C++ forbids compound-literals

Is this a bug or an invalid test?


The test is

// { dg-do compile }

typedef int __attribute__((mode(V2SI))) vec;

vec foo[] = { (vec) {1, 2} };


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]