Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/ssa-sink-15.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* PR79725 */ |
131 | 2 /* { dg-do compile { target size32plus } } */ |
111 | 3 /* { dg-options "-O2 -fdump-tree-optimized" } */ |
4 | |
5 _Complex double f(_Complex double x[]) | |
6 { | |
7 _Complex float p = 1.0; | |
8 for (int i = 0; i < 1000000; i++) | |
9 p = x[i]; | |
10 return p; | |
11 } | |
12 | |
13 /* Verify we end up with a single BB and no loop. */ | |
14 /* { dg-final { scan-tree-dump-times "goto" 0 "optimized" } } */ |