]> git.ipfire.org Git - thirdparty/gcc.git/commit
Don't treat variable-length vectors as VLAs during gimplification
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Sep 2019 09:43:42 +0000 (09:43 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Sep 2019 09:43:42 +0000 (09:43 +0000)
commit2cf069e1b52b36c264fedb3b3efaa43cb8d51842
treebe09027d406b673a7001ca5a5b1fcb4513dabf01
parent18a6b95a0a06ad47265a29db61977539020419d0
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@275870 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimplify.c