[AArch64] Fix label mode
commitbdc5a612fbf44394dcfb0ee14e5b3ae0d9206adc
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Aug 2017 09:17:16 +0000 (22 09:17 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Aug 2017 09:17:16 +0000 (22 09:17 +0000)
tree74ac081dae4705e59d98eb38ed96e3c38b7cb9c8
parent8b046e703d080716df1dfefcaacfca7ecab53b57
[AArch64] Fix label mode

This patch fixes a case where we tried to force a VOIDmode label
into a DImode register, which led to invalid rtl that was previously
undiagnosed.

2017-08-22  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* config/aarch64/aarch64.md (casesi): Use DImode rather than
VOIDmode for the LABEL_REF.

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