This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: every versions and __attribute__(( aligned(2) ))
- To: etienne dot lorrain at ibm dot net
- Subject: Re: every versions and __attribute__(( aligned(2) ))
- From: Robert Lipe <robertl at dgii dot com>
- Date: Sat, 5 Dec 1998 01:11:34 -0600
- Cc: egcs-bugs at cygnus dot com
- References: <199812041011.LAA03326@mailrelay.fb.sony.de>
> 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.