From: Jason Merrill Date: Tue, 24 Jul 2001 14:55:07 +0000 (-0400) Subject: tweak comment X-Git-Tag: prereleases/libstdc++-3.0.95~3090 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22d69b599bad29aabb21569cacc163124f37c722;p=thirdparty%2Fgcc.git tweak comment From-SVN: r44297 --- diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 5ced7ef875a9..59c08bcbf13d 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);