]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/vect-profile-upate-2.c
Fix profile update after vectorize loop versioning
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / vect-profile-upate-2.c
CommitLineData
5ffa9d0a
JH
1/* { dg-do compile } */
2/* { dg-options "-O2 -fdump-tree-optimized-details-blocks" } */
3void
4test (int *a, int *b, int n)
5{
6 for (int i = 0; i < n; i++)
7 a[i]+=b[i];
8}
9/* { dg-final { scan-tree-dump-not "Invalid sum" "optimized"} } */