This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, rfc] Semantics of attribute (aligned), misscompilation of crtstuff
On Tue, Oct 23, 2007 at 03:50:15PM +0200, Zdenek Dvorak wrote:
> > How about __attribute__((aligned(sizeof(func_ptr)),packed)) instead of
> > the runtime test?
>
> do we support attribute packed on variables? I get
>
> ../../gcc/gcc/crtstuff.c:196: warning: ?packed? attribute ignored
> ../../gcc/gcc/crtstuff.c:209: warning: ?packed? attribute ignored
>
> when I try to use it.
:-(
The documentation isn't clear... it reads like that should work
(and be right).
--
Daniel Jacobowitz
CodeSourcery
- References:
- [patch, rfc] Semantics of attribute (aligned), misscompilation of crtstuff
- Re: [patch, rfc] Semantics of attribute (aligned), misscompilation of crtstuff
- Re: [patch, rfc] Semantics of attribute (aligned), misscompilation of crtstuff
- Re: [patch, rfc] Semantics of attribute (aligned), misscompilation of crtstuff
- Re: [patch, rfc] Semantics of attribute (aligned), misscompilation of crtstuff