nds32: Fix casesi (PR70668)
commit4da04b7eb7cfe2775c216aef67e1e29f3ac36810
authorsegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Apr 2016 16:50:41 +0000 (28 16:50 +0000)
committersegher <segher@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Apr 2016 16:50:41 +0000 (28 16:50 +0000)
treeeeb22e444ded340a0d3c15c0a7b90afeb4625c5b
parent6e605195ca8beb61f91468b6a878dca90f2ad98c
nds32: Fix casesi (PR70668)

Expanders do not have more elements in the operands array than declared
in the pattern.  So, we cannot use operands[5] here.  Instead just
declare and use another rtx.

PR target/70668
* config/nds32/nds32.md (casesi): Don't access the operands array
out of bounds.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235583 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/nds32/nds32.md