Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/ssa-lim-8.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O -fdump-tree-lim2-details" } */ | |
3 | |
4 void bar (int); | |
5 void foo (int n, int m) | |
6 { | |
7 unsigned i; | |
8 for (i = 0; i < n; ++i) | |
9 { | |
10 int x; | |
11 if (m < 0) | |
12 x = 1; | |
13 else | |
14 x = m; | |
15 bar (x); | |
16 } | |
17 } | |
18 | |
19 /* { dg-final { scan-tree-dump-times "Moving PHI node" 1 "lim2" } } */ |