Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-40.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 "-O -fdump-tree-fre1" } */ | |
3 | |
4 int x; | |
5 int foo (int *p) | |
6 { | |
7 x = 0; | |
8 if (x) | |
9 *p = 1; | |
10 return x; | |
11 } | |
12 | |
13 /* The final load of x should be replaced as well as the | |
14 aliasing store via *p is not reachable. */ | |
15 | |
16 /* { dg-final { scan-tree-dump-not "= x;" "fre1" } } */ |