C++ PATCH for c++/38877
Fri Jan 16 23:03:00 GMT 2009
My previous patch changed the test from the "field" of the COMPONENT_REF
not having FIELD_DECL code, to just checking for a possibly overloaded
function. Apparently that doesn't cover all the cases, as in templates
we can end up with an IDENTIFIER_NODE for the "field".
The build_new change also fixes this testcase by not calling lvalue_p in
the first place.
Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3185 bytes
Desc: not available
More information about the Gcc-patches