]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/slsr-42.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / slsr-42.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-slsr-details" } */
3
4 struct x
5 {
6 int a[16];
7 int b[16];
8 };
9
10 void
11 set (struct x *p, unsigned int n, int i)
12 {
13 p->a[n] = i;
14 p->b[n] = i;
15 }
16
17 /* { dg-final { scan-tree-dump-not "Replacing reference: " "slsr" { target i?86-*-* x86_64-*-* } } } */