This is the mail archive of the gcc@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: [tree-ssa] Simplifying TARGET_EXPR


But e.g. strict aliasing makes such debugging also harder in a similar
way, because valid, but possibly surprising, transformations are made.  We
do them anyway, so that also can't be the reason to not elide copy ctors
by default.
I agree with the antecedent, but not the conclusion. :-)

These are definitly analgous situations, but to me it is a matter of
degree.  In other words, the same considerations apply, but in different
proportions, and therefore I reach a different conclusion.

Inserting and removing function calls is -- in my opinion -- a more
significant change in program semantics.

I dn't feel too strongly about this.  Maybe I am scarred by having
worked on too many compilers that did this transformation strictly
in the front end.

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


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