[ARM/AArch64] PR 68088: Fix RTL checking ICE due to subregs inside accumulator forwar...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 6 Nov 2015 12:04:15 +0000 (12:04 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 6 Nov 2015 12:04:15 +0000 (12:04 +0000)
commitc9aa6b940fb8c010ffbba8a6a2eb3ce1de21389f
treeabfaa95dcf19408483ccfe4f9c380784daa56057
parent66c5c67baffb2fa9fd9085c01f2811b07f0f7f60
[ARM/AArch64] PR 68088: Fix RTL checking ICE due to subregs inside accumulator forwarding check

        PR target/68088
        * config/arm/aarch-common.c (aarch_accumulator_forwarding): Strip
        subregs from accumulator and make sure it's a register.

        * gcc.dg/pr68088_1.c: New test.

From-SVN: r229845
gcc/ChangeLog
gcc/config/arm/aarch-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr68088_1.c [new file with mode: 0644]