[PATCH] PR c++/7503: Handle MAX_EXPR as target of MODIFY_EXPR
Andrew Pinski
pinskia@physics.uc.edu
Sun Sep 12 06:33:00 GMT 2004
On Sep 11, 2004, at 9:59 PM, Richard Henderson wrote:
> 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.
But this is not a C++ extension, woops.
Thanks,
Andrew Pinski
More information about the Gcc-patches
mailing list