2015-02-23 13:53 GMT+03:00 Georg-Johann Lay <a...@gjlay.de>:
> This patch fixes PR64331 which produced wrong code because of outdated (too
> many) REG_DEAD notes.  These notes are not (re)computed per default, hence
> do the computation by hand each time avr.c:reg_unused_after is called in a
> different pass.
>
> Ok to apply?
>
> Johann
>
>
> gcc/
>         PR target/64331
>         * config/avr/avr.c (reg_unused_after): Recompute insn notes if the
>         pass changed since the last (re)computation.
>         * config/avr/avr.h (machine_function.dead_notes_pass_number): New
>         component.
>
> gcc/testsuite/
>         PR target/64331
>         * gcc.target/avr/torture/pr64331.c: New run test.
>

Approved. Please apply.

Denis.

Reply via email to