Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr35691-2.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 "-O2 -fdump-tree-forwprop1-details" } */ | |
3 | |
4 int foo(int z0, unsigned z1) | |
5 { | |
6 int t0 = (z0 != 0); | |
7 int t1 = (z1 != 0); | |
8 int t2 = (t0 | t1); | |
9 return t2; | |
10 } | |
11 | |
12 /* { dg-final { scan-tree-dump "gimple_simplified to _\[0-9\]* = \\(int\\) z1_\[0-9\]*\\(D\\);" "forwprop1" } } */ |