This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR C++/28989, post-increment of bool is wrongly considered a lvalue
On Mon, 2006-09-18 at 13:42 -0700, Mark Mitchell wrote:
> Does it work to make lvaluep look through SAVE_EXPRs to the thing
No, because we want to reject this as an lvalue and the thing saved is
just a decl. Maybe we should reject SAVE_EXPRs as non-lvalues but I
need to make sure again we are not stripping the SAVE_EXPR which I think
we are for some reason.