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: Fix PR rtl-optimization/27761 (miscompilation)


Hi,

On Sat, 26 May 2006, Ian Lance Taylor wrote:

> > 	* combine.c (try_combine): Protect i1src and i2src from becoming
> > 	  shared through subst().
> 
> This patch is going to generate a lot of garbage.
> 
> Suppose we instead eliminate the UNIQUE_COPY parameter to subst, and
> always copy TO if we are going to substitute it?  That would at least
> cut down on the garbage a bit.

I guess that would work for me.  If we are really nervous about the
garbage we could even copy it once even when UNIQUE_COPY is zero and it's
the first replacement.  I'll try that the next days.


Ciao,
Michael.


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