typedefs and attribute aligned in gcc-3.3.3

Graeme Peterson gp@qnx.com
Fri Feb 13 19:06:00 GMT 2004


I have seen a lot of postings in the archives on this, but I was hoping it 
would be fixed in gcc-3.3.3.  I just checked the Feb 10 2004 prerelease, 
and it is not.  Basically, the following has no effect:

  typedef int _Uint64t __attribute__((__mode__(__DI__),__aligned(8)));

We use this mechanism at QNX in our system headers, so I really want 
to try and fix it.

Anyone have any patches for this?  Anyone willing to help me figure out
how to fix it?  It works in gcc-3.2.3, and in one of my gcc-3.4 cvs 
snapshots, but I have not yet confirmed the latest head branch of cvs.   I 
think it has been broken since gcc-3.3.0.

Thanks.
GP



More information about the Gcc mailing list