re PR middle-end/67335 (ICE in compiling omp simd function with unused argument)
authorJakub Jelinek <jakub@redhat.com>
Mon, 21 Nov 2016 19:17:36 +0000 (20:17 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 21 Nov 2016 19:17:36 +0000 (20:17 +0100)
commit699e8cb7b4d067cabff5a92bdbbb2d0d0dddc262
treec46eb1d0c6df69460c15a6d52bd11212170ddb53
parentafb34582771843f86e72c4d7dca60220d0591c95
re PR middle-end/67335 (ICE in compiling omp simd function with unused argument)

PR middle-end/67335
* omp-simd-clone.c (simd_clone_adjust_argument_types): Use NULL prefix
for tmp simd array if DECL_NAME (parm) is NULL.

* g++.dg/vect/simd-clone-7.cc: New test.

From-SVN: r242678
gcc/ChangeLog
gcc/omp-simd-clone.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/vect/simd-clone-7.cc [new file with mode: 0644]