msp430.md (call_internal): Don't allow memory references with SP as the base register.
authorDJ Delorie <dj@redhat.com>
Mon, 13 Jan 2014 19:17:45 +0000 (14:17 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Mon, 13 Jan 2014 19:17:45 +0000 (14:17 -0500)
commitfb28dac0ff5f7c9943e53a36dc8b6ab05bef0520
tree8e52ce60f78867347d1d225030648e00b2b503cc
parent03b9e8e48dfb02c43661102ce25d968dd4b2e09d
msp430.md (call_internal): Don't allow memory references with SP as the base register.

* config/msp430/msp430.md (call_internal): Don't allow memory
references with SP as the base register.
(call_value_internal): Likewise.
* config/msp430/constraints.md (Yc): New.  For memory references
that don't use SP as a base register.

* config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean
"an integer without a # prefix"
* config/msp430/msp430.md (epilogue_helper): Use it.

From-SVN: r206586
gcc/ChangeLog
gcc/config/msp430/constraints.md
gcc/config/msp430/msp430.c
gcc/config/msp430/msp430.md