rx.c (rx_conditional_register_usage): Do not warn if no fixed registers are available...
authorNick Clifton <nickc@redhat.com>
Wed, 2 Dec 2009 10:59:04 +0000 (10:59 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 2 Dec 2009 10:59:04 +0000 (10:59 +0000)
commitdafcb54e4299b68d8498b5eee92fdcd8f79f6330
tree031d1485543d358195439ebebb1a4d656c2c5108
parent57cdf653e3cb6f4f006afe01793de0b3ed10312d
rx.c (rx_conditional_register_usage): Do not warn if no fixed registers are available for interrupt handlers.

        * config/rx/rx.c (rx_conditional_register_usage): Do not warn if
        no fixed registers are available for interrupt handlers.  Do not
        fix normal registers.
        (MUST_SAVE_ACC_REGISTER): New macro.
        (rx_get_stack_layout): Create a stack frame for fast interrupt
        handlers, if necessary.  Push extra registers if needed in order
        to save the accumulator.
        (rx_expand_prologue): Create a stack frame for fast interrupt
        handlers, if necessary.
        (rx_expand_builtin_mvfc): Handle the case where there is no
        target.

From-SVN: r154903
gcc/ChangeLog
gcc/config/rx/rx.c