diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/vect/unswitch-loops-pr26969.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/unswitch-loops-pr26969.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/unswitch-loops-pr26969.c b/gcc/testsuite/gcc.dg/vect/unswitch-loops-pr26969.c new file mode 100644 index 000000000..b92a7fb7c --- /dev/null +++ b/gcc/testsuite/gcc.dg/vect/unswitch-loops-pr26969.c @@ -0,0 +1,15 @@ +/* { dg-do compile } */ +/* { dg-require-effective-target vect_int } */ + +void +ruby_re_compile_fastmap (char *fastmap, int options) +{ + int j; + for (j = 0; j < (1 << 8); j++) + { + if (j != '\n' || (options & 4)) + fastmap[j] = 1; + } +} + +/* { dg-final { cleanup-tree-dump "vect" } } */ |