This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: delete_trivially_dead_insns fix
- From: Jan Hubicka <jh at suse dot cz>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, gcc-pdo at atrey dot karlin dot mff dot cuni dot cz
- Date: Fri, 5 Apr 2002 22:02:56 +0200
- Subject: Re: delete_trivially_dead_insns fix
- References: <20020405195249.GM21435@atrey.karlin.mff.cuni.cz>
> Hi,
> adding iteration to delete_trivially_dead_insns introduced stubble bug.
> Bootstrapped cfg-branch.
> Testing of mainline in progress (i386)
Oops, forgot to describe the problem :)
delete_trivially_dead_insns is maitaining counts of references to each
register while removing the insns. Problem arrise when it attemopts to
replace libcall by it's simplified REG_EQUAL note, the counts in
instruction changes and it gets out of sync eventually deleting code it should
not.
Honza