re PR tree-optimization/33291 (a+=2; a+=2 not simplified to a+=4; with -O3 ...
[gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / foldstring-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fdump-tree-useless" } */
3
4 void
5 arf ()
6 {
7 if (""[0] == 0)
8 blah ();
9 }
10 /* { dg-final { scan-tree-dump-times "= 0;" 1 "useless"} } */
11 /* { dg-final { cleanup-tree-dump "useless" } } */