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