every versions and __attribute__(( aligned(2) ))

Robert Lipe robertl@dgii.com
Fri Dec 4 23:11:00 GMT 1998


>   I check known bugs file, FAQ, nothing related.

Please check the FAQ on how to submit bugreports.

The target, the compile line, and a self-contained example showing the
failure is missing.  On two different targets I was unable to reproduce
your problem.

Please don't make us guess.

>  The "aligned" attribute seems to be ignored when
>  declaring a variable, whatever the EGCS (1.0 to latest
>  snapshoot) I use.
>  GCC 2.7 is working correctly.
> 
> mytype	myvariable __attribute__ ((section (".text"),
>    aligned((1)))) = {};
> 
>  Give in assembly the default ".align 4" line.
> 
>   Thanks,
>   Etienne.



More information about the Gcc-bugs mailing list