Don't treat variable-length vectors as VLAs during gimplification
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 18 Sep 2019 09:43:42 +0000 (09:43 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 18 Sep 2019 09:43:42 +0000 (09:43 +0000)
commit22b6299199da4efd3944cdaabca1d095d19ff901
treebe09027d406b673a7001ca5a5b1fcb4513dabf01
parentdefc6f266c1dd625cc64ad1ecfbd1eacbcd66e4f
Don't treat variable-length vectors as VLAs during gimplification

Source-level SVE vectors should be gimplified in the same way
as normal fixed-length vectors rather than as VLAs.

This is tested by later SVE patches.

2019-09-18  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* gimplify.c (gimplify_decl_expr): Use poly_int_tree_p instead
of checking specifically for INTEGER_CST.

From-SVN: r275870
gcc/ChangeLog
gcc/gimplify.c