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] PR c++/7503: Handle MAX_EXPR as target of MODIFY_EXPR


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~


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