re PR c++/36334 (typedef to function type leads to problems)
PR c++/36334
PR c++/37646
* tree.c (lvalue_p_1): Handle BASELINK. A COMPONENT_REF to
a function isn't necessarily an lvalue. Take tree, not const_tree.
(lvalue_p, real_lvalue_p): Take tree, not const_tree.
* typeck.c (lvalue_or_else): Likewise.
* cp-tree.h: Adjust prototypes.
From-SVN: r143404
Showing
gcc/testsuite/g++.dg/conversion/memfn1.C
0 → 100644
gcc/testsuite/g++.dg/conversion/memfn2.C
0 → 100644
Please
register
or
sign in
to comment