rl78.c (need_to_save): Change return type to bool.
authorNick Clifton <nickc@redhat.com>
Tue, 17 Sep 2013 21:10:38 +0000 (21:10 +0000)
committerDJ Delorie <dj@gcc.gnu.org>
Tue, 17 Sep 2013 21:10:38 +0000 (17:10 -0400)
commit2ba1dca17789ba97811561010f793f913c334c2e
tree24a157dfa9b4c0c5d7559c0f7de441c98ea7d6b7
parent2e7c3f214d24739ffc7039a884167a47a36f5352
rl78.c (need_to_save): Change return type to bool.

* config/rl78/rl78.c (need_to_save): Change return type to bool.
For interrupt functions: save all call clobbered registers if the
interrupt handler is not a leaf function.
(rl78_expand_prologue): Always recompute the frame information.
For interrupt functions: only select bank 0 if one of the bank 0
registers is going to be psuhed.

From-SVN: r202667
gcc/ChangeLog
gcc/config/rl78/rl78.c