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: delete_trivially_dead_insns fix


> 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


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