This is the mail archive of the gcc-bugs@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]

[Bug c++/36625] bogus error on __attribute__((aligned(N))) in template code



------- Comment #7 from jason at gcc dot gnu dot org  2010-01-19 23:30 -------
The problem here is that the attribute parsing code sees that the argument is
an identifier and treats it as a plain name rather than an expression; this is
to support attributes like mode which take an identifier as an argument.  I
guess we should handle this case specially.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36625


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