[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / pr41488.c
blobb9bc718758b98d57ccc1b120d77ab78c09cae3f8
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-sccp-scev" } */
4 struct struct_t
6 int* data;
7 };
9 void foo (struct struct_t* sp, int start, int end)
11 int i;
13 for (i = 0; i+start < end; i++)
14 sp->data[i+start] = 0;
17 /* { dg-final { scan-tree-dump-times "Simplify PEELED_CHREC into POLYNOMIAL_CHREC" 1 "sccp" } } */