Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/tree-ssa/cunroll-10.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-options "-O3 -Warray-bounds -fdump-tree-cunroll-details" } */ | |
3 int a[3]; | |
4 int b[4]; | |
5 int | |
6 foo (int n) | |
7 { | |
8 int i; | |
9 for (i=0;i<n;i++) | |
10 if (b[i]==2) | |
11 a[i]++; | |
12 } | |
13 /* { dg-final { scan-tree-dump-times "Forced statement unreachable" 2 "cunroll" } } */ |