Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-80.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-fre1" } */
3
4 unsigned long a, b;
5 void foo (int m, int f)
6 {
7 unsigned long tem = (unsigned long)m;
8 a = tem + 1;
9 if (f)
10 {
11 int tem2 = m + 1;
12 b = (unsigned long)tem2; /* Eliminated to a. */
13 }
14 }
15
16 /* { dg-final { scan-tree-dump-times "\\(long unsigned int\\)" 1 "fre1" } } */