i386: Adjust rtx cost for imulq and imulw [PR115749]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_118-pr114068.c
blobb462a464b6603e718c5a283513ea586fc13e37ce
1 /* { dg-do compile } */
2 /* { dg-add-options vect_early_break } */
3 /* { dg-require-effective-target vect_early_break } */
4 /* { dg-require-effective-target vect_int } */
5 /* { dg-additional-options "-O3" } */
7 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" } } */
9 struct h {
10 int b;
11 int f;
12 } k;
14 void n(int m) {
15 struct h a = k;
16 for (int o = m; o; ++o) {
17 if (a.f)
18 __builtin_unreachable();
19 if (o > 1)
20 __builtin_unreachable();
21 *(&k.b + o) = 1;