2018-10-31 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr86270.c
blob81841ef5bd70e4ea4ad103fda6f1131f47703098
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 int *a;
5 long len;
7 int
8 test ()
10 for (int i = 0; i < len + 1; i++)
11 a[i]=i;
14 /* Check we do not split the backedge but keep nice loop form. */
15 /* { dg-final { scan-assembler-times "L\[0-9\]+:" 2 } } */