2018-04-30 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dse-12.c
blob03477a5122a0edef54a770f73ca6a8820eba5d8f
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-dse1" } */
4 void foo (int *p, int b)
6 if (b)
7 *p = 1;
8 *p = 0;
11 /* { dg-final { scan-tree-dump-times "\\\*p" 1 "dse1" } } */