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 RFA: C++: Don't warn about logical RHS never executed


Jason Merrill <jason@redhat.com> writes:

> OK, though I might prefer to factor out the logic into a local flag
> rather than repeat it later in the function.

It can't be a local flag, because the variables are pushed onto and
popped from the stack in between the calls.  It could be a flag on the
stack.

I committed as is, but I can add a field to the stack if you like.

Ian


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