This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR c/c++/16202 The -Wsequence-point warning misses many important instances
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Manuel López-Ibáñez <lopezibanez at gmail dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>, Jason Merrill <jason at redhat dot com>, Nathan Sidwell <nathan at codesourcery dot com>
- Date: Sun, 19 Apr 2009 20:28:16 -0700
- Subject: Re: PR c/c++/16202 The -Wsequence-point warning misses many important instances
- References: <6c33472e0810241019s9d1a6cdoae9faf6280cc8795@mail.gmail.com> <6c33472e0904100536o2b1c5e6fmf5bbf7cfafb1b02e@mail.gmail.com> <6c33472e0904190419m39e53b6bmc8428c187886b20d@mail.gmail.com>
Manuel López-Ibáñez wrote:
>> cp/
>> * tree.c (lvalue_p_1): Use const_tree.
>> Use CONST_CAST_TREE to avoid warning.
>> (lvalue_p): Returns bool, receives const_tree.
The C++ bits, and associated testscases, are OK.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713