This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Simplifying TARGET_EXPR
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Michael Matz <matz at suse dot de>, Gabriel Dos Reis <gdr at codesourcery dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 23 Jul 2002 19:05:35 -0700
- Subject: 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