* doc/extend.texi: Deprecate casts as lvalues.
authorJoseph Myers <jsm@polyomino.org.uk>
Mon, 20 Oct 2003 21:52:37 +0000 (22:52 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 20 Oct 2003 21:52:37 +0000 (22:52 +0100)
From-SVN: r72723

gcc/ChangeLog
gcc/doc/extend.texi

index 2d59559816af17d1f598feedb7a5656554d4ff6b..bbd5afa063ad436c21d5c4d8446b303840b47c4a 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
+
+       * doc/extend.texi: Deprecate casts as lvalues.
+
 2003-10-20  Jan Hubicka  <jh@suse.cz>
 
        * toplev.c (rest_of_compilation): Fix webizer pass ordering.
index 9d19516bc1b49c9a9cfa632d04fb3315d717b848..1d2274fe4f761ab682cceecb883314a1056cc93b 100644 (file)
@@ -1101,7 +1101,8 @@ expressions are equivalent:
 (a ? b = 5 : (c = 5))
 @end example
 
-A cast is a valid lvalue if its operand is an lvalue.  A simple
+A cast is a valid lvalue if its operand is an lvalue.  This extension
+is deprecated.  A simple
 assignment whose left-hand side is a cast works by converting the
 right-hand side first to the specified type, then to the type of the
 inner left-hand side expression.  After this is stored, the value is