PR c++/36069 Strange "warning: suggest parentheses around assignment used as truth value" with volatile/non volatile bools
Mark Mitchell
mark@codesourcery.com
Tue Aug 4 22:48:00 GMT 2009
Manuel López-Ibáñez wrote:
> 2009-08-05 Manuel López-Ibáñez <manu@gcc.gnu.org>
>
> PR c++/36069
> * typeck.c (convert_for_assignment): Do not warn for any boolean
> variant. Use explicit location.
> testsuite/
> * g++.dg/warn/pr36069.C: New.
OK.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713
More information about the Gcc-patches
mailing list