PR tree-optimization/85826 - ICE in gimple-ssa-warn-restruct on
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / dse-points-to.c
blob8003556474d0288f592f0d32b55bf92d7937cd9a
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-tree-ccp -fno-tree-forwprop -fno-tree-fre -fno-tree-vrp" } */
3 /* { dg-additional-options "-fdump-tree-dse1-details" } */
5 int
6 f ()
8 int a;
9 int *p = &a;
10 *p = 1;
11 a = 2;
12 return a;
15 /* { dg-final { scan-tree-dump-times "Deleted dead store.*p_1" 1 "dse1"} } */