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

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 19 23:30:00 GMT 2010



------- 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



More information about the Gcc-bugs mailing list