Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr43513.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O2 -fdump-tree-ccp2" } */ | |
3 | |
4 void bar (int *); | |
5 void foo (char *, int); | |
6 | |
7 void | |
8 foo3 () | |
9 { | |
10 const int kIterations = 10; | |
11 int results[kIterations]; | |
12 int i; | |
13 bar (results); | |
14 for (i = 0; i < kIterations; i++) | |
15 foo ("%d ", results[i]); | |
16 } | |
17 | |
18 /* { dg-final { scan-tree-dump-times "alloca" 0 "ccp2"} } */ |