On Fri, May 4, 2012 at 11:07 PM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: > > Probably, but as you haven't said what version of GCC you were using a > year ago Might be 4.4 > or what version you're using now gcc version 4.6.1 > it's hard to know. <snip> > The code is invalid, and it always was invalid. OK > It was a bug in GCC 4.4 and 4.5 that allowed assigning to an array. > That bug is fixed, so I'm afraid you need to change the code. Thanks a lot. -- H.S.Rai