]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tweak comment
authorJason Merrill <jason@gcc.gnu.org>
Tue, 24 Jul 2001 14:55:07 +0000 (10:55 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 24 Jul 2001 14:55:07 +0000 (10:55 -0400)
From-SVN: r44297

gcc/cp/tree.c

index 5ced7ef875a9a1eeb85281236bca18d8b89af1ad..59c08bcbf13d5650081a9017b1e418bf5069a57f 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);