This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Alignment attribute for functions
- From: <john dot gill at quadrics dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 20 Apr 2005 13:43:10 +0100
- Subject: RE: Alignment attribute for functions
use the switch
-falign-functions=<alignment you want>
eg.
gcc foo.c -falign-functions=64 -o foo
-----Original Message-----
From: Liza Atkin [mailto:latkin@neomagic.com]
Sent: 20 April 2005 12:08
To: Gcc-Help-FAQ
Subject: Alignment attribute for functions
Hello!
I need to define and use an alignment attribute for functions. From what
I saw so far the alignment attribute exists only for type variables.
Am I missing something or how can I define a new attribute?
Thank you,
Liz