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: [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
> saved, 
> instead?
> 

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.

Thanks,
Andrew Pinski


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