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

Eli Friedman eli.friedman at gmail.com
Thu Sep 3 13:58:55 PDT 2009

On Thu, Sep 3, 2009 at 5:49 AM, Torvald
Riegel<torvald at se.inf.tu-dresden.de> wrote:
> Hi,
> 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.


More information about the llvm-dev mailing list