Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-67.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
rev | line source |
---|---|
131 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O2 -fno-tree-ccp -fdump-tree-fre1-stats" } */ | |
3 | |
4 int foo() | |
5 { | |
6 int i = 0; | |
7 do | |
8 { | |
9 i++; | |
10 } | |
11 while (i != 1); | |
12 return i; | |
13 } | |
14 | |
15 /* { dg-final { scan-tree-dump "RPO iteration over 3 blocks visited 3 blocks" "fre1" } } */ | |
16 /* { dg-final { scan-tree-dump "return 1;" "fre1" } } */ |