[PATCH] Fix PR 51505

Paolo Bonzini bonzini@gnu.org
Wed Jan 18 17:29:00 GMT 2012


On 01/18/2012 05:41 PM, Andrey Belevantsev wrote:
> Hello,
>
> As discussed in Bugzilla, this is the patch implementing Paolo's
> suggestion of killing REG_EQUAL/REG_EQUIV notes from df_kill_notes. The
> code assumes there is at most one such note per insn. Bootstrapped and
> tested on x86-64, ok for trunk?
>
> Andrey
>
> gcc:
> 2012-01-18 Andrey Belevantsev <abel@ispras.ru>
>
> PR rtl-optimization/51505
> * df-problems.c (df_kill_notes): New parameter live. Update comment.
> Remove REG_EQUAL/REG_EQUIV notes referring to dead registers.
> (df_note_bb_compute): Update the call to df_kill_notes.
>
> testsuite:
> 2012-01-18 Andrey Belevantsev <abel@ispras.ru>
>
> PR rtl-optimization/51505
> * gcc.dg/pr51505.c: New test.

Ok, thanks for working on this.

Paolo



More information about the Gcc-patches mailing list