From 22d69b599bad29aabb21569cacc163124f37c722 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 24 Jul 2001 10:55:07 -0400 Subject: [PATCH] tweak comment From-SVN: r44297 --- gcc/cp/tree.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 5ced7ef875a..59c08bcbf13 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -80,6 +80,9 @@ lvalue_p_1 (ref, treat_class_rvalues_as_lvalues) case WITH_CLEANUP_EXPR: case REALPART_EXPR: case IMAGPART_EXPR: + /* This shouldn't be here, but there are lots of places in the compiler + that are sloppy about tacking on NOP_EXPRs to the same type when + no actual conversion is happening. */ case NOP_EXPR: return lvalue_p_1 (TREE_OPERAND (ref, 0), treat_class_rvalues_as_lvalues); -- 2.30.2