This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: alignment bug?


That works fine.

--
Gagan

Eljay Love-Jensen wrote:
What happens if the ALIGNED is applied to a variable, instead of applying it
to a data type?

For example:

typedef struct Bar
{
  char c[129] ALIGNED(128);
} Bar;

--Eljay



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