1 /* PR target/59839 */
2 /* { dg-do compile } */
3 /* { dg-options "-O0 -mavx2" } */
4 
5 #include <x86intrin.h>
6 
7 void
test(const float * x)8 test (const float *x)
9 {
10   __m256i i = _mm256_set1_epi32 (1);
11   __m256 d = _mm256_i32gather_ps (x, i, 1);
12 }
13