re PR target/79242 (ICE in simplify_subreg, at simplify-rtx.c:6029)
authorJozef Lawrynowicz <jozefl.gcc@gmail.com>
Wed, 14 Feb 2018 07:21:11 +0000 (07:21 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 14 Feb 2018 07:21:11 +0000 (00:21 -0700)
commita005570e2ca18626a11212dc55d9942f95eaccac
treeb4330c40114871bc38e72839f7c5fd1fb9f22e99
parent3f5ddefdaaa239e5e274c0460b6e420840fc9bdb
re PR target/79242 (ICE in simplify_subreg, at simplify-rtx.c:6029)

2018-02-14  Jozef Lawrynowicz <jozefl.gcc@gmail.com>

PR target/79242
* machmode.def: Define a complex mode for PARTIAL_INT.
* genmodes.c (complex_class): Return MODE_COMPLEX_INT for
MODE_PARTIAL_INT.
* doc/rtl.texi: Document CSPImode.
* config/msp430/msp430.c (msp430_hard_regno_nregs): Add CPSImode
handling.
(msp430_hard_regno_nregs_with_padding): Likewise.

PR target/79242
* gcc.target/msp430/pr79242.c: New test.

From-SVN: r257653
gcc/ChangeLog
gcc/config/msp430/msp430.c
gcc/doc/rtl.texi
gcc/genmodes.c
gcc/machmode.def
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/msp430/pr79242.c [new file with mode: 0644]