[LLVMdev] llvm-gcc ignores function attributes of template functions?

Torvald Riegel torvald at se.inf.tu-dresden.de
Fri Sep 4 05:38:41 PDT 2009


On Thursday 03 September 2009 14:49:51 Torvald Riegel wrote:
> 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?

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

Torvald



More information about the llvm-dev mailing list