diff options
author | Joseph Myers <jsm@polyomino.org.uk> | 2003-10-20 22:52:37 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2003-10-20 22:52:37 +0100 |
commit | 02601a5c5a49dfd20f2e34a146fc7b3cc6d3f0df (patch) | |
tree | 8a33b4a66b4bb23f61cc4e3f68287d67d08f395a /gcc/doc/extend.texi | |
parent | beca20d2a099ff9b732c1895dcb8b7b42ea9897f (diff) | |
download | gcc-02601a5c5a49dfd20f2e34a146fc7b3cc6d3f0df.zip gcc-02601a5c5a49dfd20f2e34a146fc7b3cc6d3f0df.tar.gz gcc-02601a5c5a49dfd20f2e34a146fc7b3cc6d3f0df.tar.bz2 |
* doc/extend.texi: Deprecate casts as lvalues.
From-SVN: r72723
Diffstat (limited to 'gcc/doc/extend.texi')
-rw-r--r-- | gcc/doc/extend.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 9d19516..1d2274f 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -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 |