C++ PATCH for c++/38877

Jason Merrill jason@redhat.com
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...
Name: 38877.patch
Type: text/x-patch
Size: 3185 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090116/4b7ebb0e/attachment.bin>


More information about the Gcc-patches mailing list