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: [PR c++/19199] don't turn cond_expr lvalue into min_expr rvalue(continued from PR c++/20280)


Alexandre Oliva wrote:
On Mar 5, 2005, Mark Mitchell <mark@codesourcery.com> wrote:


Roger has objected to this change in the past.  As I noted in the
audit trail for 19199, there's stuff in build_modify_expr to handle
MIN_EXPR/MAX_EXPR as lvalues


Problem is, with the transformation performed by fold, it's no longer
an lvalue, and forcing it back into an lvalue just because it looks
like it should be one could break other programs.

Yes, I understand. You still need to take it up with Roger, though.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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