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]

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


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


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