avr-protos.h (avr_peep2_scratch_safe): Remove prototype.
authorAnatoly Sokolov <aesok@post.ru>
Fri, 11 Jul 2008 18:50:02 +0000 (22:50 +0400)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Fri, 11 Jul 2008 18:50:02 +0000 (22:50 +0400)
commit1cf0a7f1ccc13a311a036147e0ce890b03cd68ff
tree731db2743cb504c83f1200a7a5e2cb49848ded79
parenteea1139b26437bb71fd5ee838d8d0b5f2473a16a
avr-protos.h (avr_peep2_scratch_safe): Remove prototype.

* config/avr/avr-protos.h (avr_peep2_scratch_safe): Remove prototype.
* config/avr/avr.c (avr_peep2_scratch_safe): Remove.
(avr_hard_regno_scratch_ok): New function.
(TARGET_HARD_REGNO_SCRATCH_OK): Define.
* config/avr/avr.md (all peepholes that request a scratch register):
Remove avr_peep2_scratch_safe use.

From-SVN: r137725
gcc/ChangeLog
gcc/config/avr/avr-protos.h
gcc/config/avr/avr.c
gcc/config/avr/avr.md