This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/43641] internal compiler error: tree check: expected call_expr, have target_expr in maybe_add_lambda_conv_op



------- Comment #2 from redi at gcc dot gnu dot org  2010-04-04 17:17 -------
reduced

#include <utility>

using namespace std;

struct Row { };

void drawInside( )
{
   auto lambda = 
    [ ] ( const Row* curRow ) -> pair<int,float>
    {
     return std::pair<int,float>( );
    };
}


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]