[PATCH] PR c++/7503: Handle MAX_EXPR as target of MODIFY_EXPR
Richard Henderson
rth@redhat.com
Sun Sep 12 06:07:00 GMT 2004
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~
More information about the Gcc-patches
mailing list