tree-sra.c: Fix completely_scalarize for negative indices.
authorAlan Lawrence <alan.lawrence@arm.com>
Fri, 6 Nov 2015 13:48:32 +0000 (13:48 +0000)
committerAlan Lawrence <alalaw01@gcc.gnu.org>
Fri, 6 Nov 2015 13:48:32 +0000 (13:48 +0000)
commit55bf45c0f38c819ffa4043593b97093a52dd5e53
tree616cf403c591e4ceb7aaf76bcd8e77e640ab68a6
parentf1aa4bb328a5e69e93f33d1a9f3cb8969ab4bbd8
tree-sra.c: Fix completely_scalarize for negative indices.

* tree-sra.c (completely_scalarize): Properly handle negative array
indices using offset_int.

From-SVN: r229852
gcc/ChangeLog
gcc/tree-sra.c