comparison gcc/testsuite/gcc.dg/tree-ssa/copy-headers.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-ch2-details" } */
3
4 extern int foo (int);
5
6 void bla (void)
7 {
8 int i, n = foo (0);
9
10 for (i = 0; i < n; i++)
11 foo (i);
12 }
13
14 /* There should be a header duplicated. */
15 /* { dg-final { scan-tree-dump-times "Duplicating header" 1 "ch2"} } */