This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[wwwdocs] Suggest workaround for compound-expression-as-lvalue


Hello,

suggested by Nathan. OK to commit?

Giovanni Bajo


Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-3.4/changes.html,v
retrieving revision 1.97
diff -c -3 -p -r1.97 changes.html
*** changes.html 9 Feb 2004 14:03:24 -0000 1.97
--- changes.html 10 Feb 2004 14:36:59 -0000
***************
*** 238,244 ****
          (a, b) = 2;
          </pre>
          <p>will not be accepted for C and Objective-C in a future
!         version.</p></li>
      <li>Several
   <a
href="http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html#Other%20Builtins";>
   built-in functions</a> such as <code>__builtin_popcount</code>
--- 238,247 ----
          (a, b) = 2;
          </pre>
          <p>will not be accepted for C and Objective-C in a future
!         version. A possible non-intrusive workaround is the following:</p>
!         <pre>
!         (*(a, &b)) = 2;
!         </pre></li>
      <li>Several
   <a
href="http://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html#Other%20Builtins";>
   built-in functions</a> such as <code>__builtin_popcount</code>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]