Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/phi-opt-4.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 /* { dg-do compile } */ |
2 /* { dg-options "-O1 -fdump-tree-optimized" } */ | |
3 | |
4 _Bool t(); | |
5 _Bool t1(); | |
6 | |
7 _Bool f1() | |
8 { | |
9 return t() && t1(); | |
10 } | |
11 | |
12 /* There should be only one if, the outer one; the inner one | |
13 should have been changed to straight line code with the | |
14 value of b (except that we don't fold ! (b != 0) into b | |
15 which means that we miss a sib calling opportunity). */ | |
16 /* { dg-final { scan-tree-dump-times "if " 1 "optimized"} } */ |