This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR c++/7503: Handle MAX_EXPR as target of MODIFY_EXPR
- From: Richard Henderson <rth at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 11 Sep 2004 21:59:51 -0700
- Subject: Re: [PATCH] PR c++/7503: Handle MAX_EXPR as target of MODIFY_EXPR
- References: <Pine.LNX.4.44.0409111532380.19749-100000@www.eyesopen.com>
On Sat, Sep 11, 2004 at 04:08:33PM -0600, Roger Sayle wrote:
> The C++ front-end allows ternary operators to be used as lvalues, i.e.
> "(A ? B : C) = D".
Didn't we remove this feature from the C front end? Pause...
Yes, we did. This test fails with "invalid lvalue in assignment".
I would imagine that the C++ maintainers would be delighted for
you to remove this extension from the C++ front end too.
r~