[POWERPC] iseries: remove some gcc 4.1 warnings
Alan Modra
amodra at bigpond.net.au
Wed Aug 16 16:09:12 EST 2006
On Wed, Aug 16, 2006 at 03:32:06PM +1000, Stephen Rothwell wrote:
> On Wed, 16 Aug 2006 15:26:04 +1000 Michael Ellerman <michael at ellerman.id.au> wrote:
> >
> > On Wed, 2006-08-16 at 15:20 +1000, Stephen Rothwell wrote:
> > > gcc 4.1 produces some warnings that it is ignoring the packed attribute
> > > on some structure elements, so just remove them.
> >
> > Why is it ignoring them? Because there's no packing to be done?
>
> A patch went into gcc to warn if the thing you are packing is already
> minimally aligned. I have not idea why it warns ...
http://gcc.gnu.org/ml/gcc-patches/2005-11/msg01883.html
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21166
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Linuxppc-dev
mailing list