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

Etienne Lorrain lorrain@fb.sony.de
Fri Dec 4 02:13:00 GMT 1998


  Hi,

  I check known bugs file, FAQ, nothing related.

 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