comparison gcc/testsuite/gcc.dg/autopar/pr86097.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-options "-O2 -ftree-parallelize-loops=2 -fno-tree-dce -Wno-aggressive-loop-optimizations" } */
2 int rp, vd;
3
4 void
5 p5 (int cd)
6 {
7 while (cd != 0)
8 {
9 for (rp = 0; rp < 4; ++rp)
10 for (vd = 0; vd < 1; ++vd)
11 {
12 g0:
13 ;
14 }
15
16 ++rp;
17 }
18
19 while (rp < 2)
20 {
21 for (cd = 0; cd < 1; ++cd)
22 for (rp = 1; rp != 0; ++rp)
23 {
24 }
25
26 ++rp;
27 }
28
29 if (cd != 0)
30 goto g0;
31 }