On 07/12/2017 03:14 PM, Christophe Lyon wrote:
Hi Nathan,
/gccsrc/libcc1/libcp1plugin.cc: In function ‘gcc_decl plugin_build_decl(cc1_plugin::connection*, const char*, gcc_cp_symbol_kind, gcc_type, const char*, gcc_address, const char*, unsigned int)’: /gccsrc/libcc1/libcp1plugin.cc:1422: error: lvalue required as left operand of assignment /gccsrc/libcc1/libcp1plugin.cc:1424: error: lvalue required as left operand of assignment make[3]: *** [libcp1plugin.lo] Error 1
whoops, forgot that I had changes there too. Applied the attached. nathan -- Nathan Sidwell
2017-07-12 Nathan Sidwell <nat...@acm.org> * libcp1plugin.cc (plugin_build_decl): Use DECL_CXX_{CON,DE}STRUCTOR directly. Index: libcp1plugin.cc =================================================================== --- libcp1plugin.cc (revision 250090) +++ libcp1plugin.cc (working copy) @@ -1419,9 +1419,9 @@ plugin_build_decl (cc1_plugin::connectio if (ctor || dtor) { if (ctor) - DECL_CONSTRUCTOR_P (decl) = 1; + DECL_CXX_CONSTRUCTOR_P (decl) = 1; if (dtor) - DECL_DESTRUCTOR_P (decl) = 1; + DECL_CXX_DESTRUCTOR_P (decl) = 1; } else {