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))); > >

Missing data alignment on MIPS

2009-04-07 Thread Paul Koning
This relates to bug 13167 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13617) 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; ch