OSDN Git Service

revert part of the last checkin
authorbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Jun 1998 13:41:20 +0000 (13:41 +0000)
committerbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Jun 1998 13:41:20 +0000 (13:41 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20794 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/tree.c

index 952da29..05c54fa 100644 (file)
@@ -211,12 +211,6 @@ lvalue_p (ref)
       return (lvalue_p (TREE_OPERAND (ref, 0))
              && lvalue_p (TREE_OPERAND (ref, 1)));
 
-    case NOP_EXPR:
-      /* GNU extension:
-        A cast is a valid lvalue if its operand is an lvalue. */
-      if (! pedantic)
-       return lvalue_p (TREE_OPERAND (ref, 0));
-
     default:
       break;
     }