comparison gcc/testsuite/gcc.dg/tree-ssa/fnsplit-1.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 "-O2 -fdump-tree-fnsplit" } */
3 #include <stdio.h>
4 int a[1000];
5
6 void
7 t(int a)
8 {
9 if (a)
10 printf ("I Am Completely Operational,"),
11 printf ("And All My Circuits Are Functioning Perfectly\n");
12 }
13 int
14 main(void)
15 {
16 int i;
17 for (i = 0; i < 1000; i++)
18 t(a[i]);
19 return 0;
20 }
21 /* { dg-final { scan-tree-dump-times "Splitting function at:" 1 "fnsplit"} } */
22