This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7585: Attributes for nested typedef-name ignored
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gdr at nerim dot net, nobody at gcc dot gnu dot org
- Date: 31 Oct 2002 00:32:51 -0000
- Subject: Re: c++/7585: Attributes for nested typedef-name ignored
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gdr at nerim dot net, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Attributes for nested typedef-name ignored
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Wed Oct 30 16:32:50 2002
State-Changed-Why:
I can see this as well, but I imagine the syntax is wrong:
shouldn't it be
typedef struct { } __attribute__((__aligned__(__alignof__(int)))) Y;
instead of
typedef struct { } Y __attribute__((__aligned__(__alignof__(int))));
??
With this, the output is as you expect.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7585