]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/tree-ssa/pr67891.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr67891.c
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-fre1" } */
3
4 unsigned int a, *b;
5 unsigned short c;
6 int d;
7
8 void
9 fn1 ()
10 {
11 b = &d;
12 *b = c = a;
13 *b = d;
14 }
15
16 /* We should remove all loads but that from a. */
17 /* { dg-final { scan-tree-dump-not "= \[dbc\];" "fre1" } } */