RE: Missing data alignment on MIPS

2009-04-07 Thread Paul Koning
> Paul Koning writes: > > > It looks like the compiler is generating appropriate code but gas > > isn't doing the right thing with it, at least not consistently. > > > > With this test program, compiled with GCC 4.1.2 mipsel-netbsdelf: > > > > int i = 3; > > char foo[17] __attribute__ ((a

Re: Missing data alignment on MIPS

2009-04-07 Thread Andreas Schwab
Paul Koning writes: > It looks like the compiler is generating appropriate code but gas > isn't doing the right thing with it, at least not consistently. > > With this test program, compiled with GCC 4.1.2 mipsel-netbsdelf: > > int i = 3; > char foo[17] __attribute__ ((aligned(32))); > >