This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
align of local char array seem not work.
- From: Bernd Roesch <nospamname at web dot de>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 09 Apr 2009 15:07:59 +0200
- Subject: align of local char array seem not work.
Hi,
i see simular lines in a program.
char buf[256] __attribute__((aligned(16)));
printf("%x\n",&buf[0]);
this short test program give no error or warning and do not align as
expect.i test with several 68k amigaos compilers (3.4.0 /4.3.2/4.4.0), and
i think this is no target problem.at least a syntax error should come.or is
there some define need in platform specific file ?
Bye