re PR target/84711 (AArch32 big-endian fails when taking subreg of a vector mode...
authorTamar Christina <tamar.christina@arm.com>
Thu, 15 Mar 2018 10:53:17 +0000 (10:53 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Thu, 15 Mar 2018 10:53:17 +0000 (10:53 +0000)
commit22534ea5549e970de4466fe492dacc61c2ff471f
tree4ebbef965b3d08219363090bb43fb933a70acae2
parent74a9301d6128c0c7a4a8570545b9db40505c93f2
re PR target/84711 (AArch32 big-endian fails when taking subreg of a vector mode to a scalar mode.)

2018-03-15  Tamar Christina  <tamar.christina@arm.com>

PR target/84711
* config/arm/arm.c (arm_can_change_mode_class): Use GET_MODE_UNIT_SIZE
instead of GET_MODE_SIZE when comparing Units.

gcc/testsuite/
2018-03-15  Tamar Christina  <tamar.christina@arm.com>

PR target/84711
* gcc.target/arm/big-endian-subreg.c: New.

From-SVN: r258554
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/big-endian-subreg.c [new file with mode: 0644]