This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



>   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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]