------- Additional Comments From jeanmichel dot gilbert at videotron dot ca  
2005-01-26 16:22 -------
There is more to this bug than the compilation of code specified always_inline
at -O0. I have some template code that compiles fine at -O2 but gives lots of
inlining warning at -O1. Without template, it works OK. With template, it gives
the same warning as below (replacing sorry unimplemented with warning).

Here's a sample of the code :

class Vector 
{
    template <class T>
    void Evaluate(const T& e)
    {
        v[0]=e[0];
        v[1]=e[1];
        v[2]=e[2];
    }
};


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14950

Reply via email to