llvm-gcc ignores function attributes of template functions?


llvm-gcc of LLVM 2.5 seems to ignore function attributes of template
functions. For example, it doesn't set the noinline attribute, and it doesn't
warn on unknown attribute names. Is this known / intended behavior?


Testcase? Seems to work fine with trunk; you might want to try with
that or the 2.6 prerelease.


Actually, this happens just for template methods of template classes (with the
2.6 branch of llvm-gcc). I opened bug 4884 for this.