aboutsummaryrefslogtreecommitdiffstats log msg author committer range
blob: c5bddbfba9209b787a33b58ebd289234365f66be (plain)
 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-ivopts-details" } */ void foo (double *p) { int i; for (i = -20000; i < 200000; i+= 40) { p[i+0] = 1.0; p[i+1] = 1.0; p[i+2] = 1.0; p[i+3] = 1.0; p[i+4] = 1.0; p[i+5] = 1.0; p[i+6] = 1.0; p[i+7] = 1.0; p[i+8] = 1.0; p[i+9] = 1.0; p[i+10] = 1.0; p[i+11] = 1.0; p[i+12] = 1.0; p[i+13] = 1.0; p[i+14] = 1.0; p[i+15] = 1.0; p[i+16] = 1.0; p[i+17] = 1.0; p[i+18] = 1.0; p[i+19] = 1.0; p[i+20] = 1.0; p[i+21] = 1.0; p[i+22] = 1.0; p[i+23] = 1.0; p[i+24] = 1.0; p[i+25] = 1.0; p[i+26] = 1.0; p[i+27] = 1.0; p[i+28] = 1.0; p[i+29] = 1.0; p[i+30] = 1.0; p[i+31] = 1.0; p[i+32] = 1.0; p[i+33] = 1.0; p[i+34] = 1.0; p[i+35] = 1.0; p[i+36] = 1.0; p[i+37] = 1.0; p[i+38] = 1.0; p[i+39] = 1.0; } } /* We should groups address type IV uses. */ /* { dg-final { scan-tree-dump-not "\\nuse 2\\n" "ivopts" } } */ /* { dg-final { cleanup-tree-dump "ivopts" } } */