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]

Gcc 3.2 duplicated initializers regression


struct { int a; } x = { .a = 1, .a = 2 }; 

compiles without warning/error on gcc 3.2. Earlier gcc versions (like 2.95.3) 
correctly errored out at the duplicated initializer. 
This looks like a frontend regression in 3.2. 

-Andi


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