This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


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

Re: Meaning of MODIFY_EXPR? (Affects g77, maybe others....)



Craig --

  The ability of the compiler to assume non-overlapping copies should
be implicit in MODIFY_EXPR.  This allows for more optimization in C,
and that is important.  As you make clear, changing the meaning of
MODIFY_EXPR would be like changing all memcpys to memmoves;
potentially costly.

  I suggest we take the alternative of fixing the MODIFY_EXPR
documentation to reflect its current semantics, and then that you take
the step of modifying g77 as appropriate.

  Easy for me to say.

-- 
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com