* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / vect / pr58513.cc
blob949104fea402815e1ad039c94ff65db68a20b537
1 // { dg-do compile }
2 // { dg-require-effective-target vect_int }
4 static int op (const int& x, const int& y) { return x + y; }
6 void foo(int* a)
8 for (int i = 0; i < 1000; ++i)
9 a[i] = op(a[i], 1);
12 // { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } }