diff options
author | Jason Merrill <jason@redhat.com> | 2009-01-15 13:14:32 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2009-01-15 13:14:32 -0500 |
commit | 4af9e878d91689da977b1e31fbb3248b5ad677b9 (patch) | |
tree | 813a681559b4e930c5f836452d80f24baae41519 /gcc/cppspec.c | |
parent | f1253e7e69d20a489bb734ea66d0702e9eaa4b76 (diff) | |
download | gcc-4af9e878d91689da977b1e31fbb3248b5ad677b9.zip gcc-4af9e878d91689da977b1e31fbb3248b5ad677b9.tar.gz gcc-4af9e878d91689da977b1e31fbb3248b5ad677b9.tar.bz2 |
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
Diffstat (limited to 'gcc/cppspec.c')
0 files changed, 0 insertions, 0 deletions