Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/20040216-1.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-dse1-details" } */ | |
3 | |
4 int | |
5 foo(int *z, int *y, int xx) | |
6 { | |
7 *z = 1; | |
8 if (xx) | |
9 xx = 20; | |
10 else | |
11 xx = 30; | |
12 *z = 2; | |
13 *z = 3; | |
14 return xx; | |
15 } | |
16 | |
17 /* We should convert two COND_EXPRs into straightline code. */ | |
18 /* { dg-final { scan-tree-dump-times "Deleted dead store" 2 "dse1"} } */ |