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



stepik-777 at mail dot ru changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |stepik-777 at mail dot ru



--- Comment #4 from stepik-777 at mail dot ru 2012-11-24 10:03:55 UTC ---

You can use !this->m_barbar intead of !m_barbar as a workaround.



This bug is still present in 4.7.2.



template<typename T>

struct Struct

{

    int member;



    Struct()

    {

        [=]{ !this->member; }; // this works

        [=]{ !member; }; // internal compiler error: Segmentation fault

    }

};

Reply via email to