OSDN Git Service

tweak comment
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Jul 2001 14:55:07 +0000 (14:55 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Jul 2001 14:55:07 +0000 (14:55 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44297 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/tree.c

index 5ced7ef..59c08bc 100644 (file)
@@ -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);