libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_65.c
blobfa87999dcd4ce1002cccaf08373d24716f531bcb
1 /* { dg-add-options vect_early_break } */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target vect_early_break } */
4 /* { dg-require-effective-target vect_int } */
5 /* { dg-additional-options "-Ofast -fno-vect-cost-model -fdump-tree-vect-details" } */
7 enum a { b };
9 struct {
10 enum a c;
11 } d[10], *e;
13 void f() {
14 int g;
15 for (g = 0, e = d; g < sizeof(1); g++, e++)
16 if (e->c)
17 return;
20 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } } */