Stop only if there aren't any usable algorithms
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx-pr51581-2.c
blob6ff54d997d040724376b60552154d3abbcb9a454
1 /* PR tree-optimization/51581 */
2 /* { dg-do run } */
3 /* { dg-options "-O2 -ftree-vectorize -mavx -fno-vect-cost-model" } */
4 /* { dg-require-effective-target avx } */
6 #ifndef CHECK_H
7 #define CHECK_H "avx-check.h"
8 #endif
9 #ifndef TEST
10 #define TEST avx_test
11 #endif
13 #define main main1
14 #include "../../gcc.c-torture/execute/pr51581-2.c"
15 #undef main
17 #include CHECK_H
19 static void
20 TEST (void)
22 main1 ();