This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFA: C++: Don't warn about logical RHS never executed
- From: Ian Lance Taylor <iant at google dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 25 Jun 2009 12:03:50 -0700
- Subject: Re: PATCH RFA: C++: Don't warn about logical RHS never executed
- References: <m3iqirxrd4.fsf@pepe.airs.com> <4A439F4C.9060809@redhat.com>
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