Fwd: [PATCH] Fix C++/39365 ++ operator with volatile bool increments

Jason Merrill jason@redhat.com
Mon Jul 13 09:13:00 GMT 2009


On 06/22/2009 12:51 AM, Andrew Pinski wrote:
> * typeck.c (cp_build_unary_op): Check TREE_CODE for bools instead of
> using same_type_p.

OK, but please make the same change to type_promotes_to and 
convert_for_assignment.

Jason



More information about the Gcc-patches mailing list