comparison gcc/testsuite/gcc.dg/graphite/pr84552.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-do compile } */
2 /* { dg-options "-O2 -floop-nest-optimize -fno-tree-copy-prop -fno-tree-fre -fno-tree-loop-ivcanon" } */
3
4 int cx;
5
6 int
7 e6 (int pj, int xe)
8 {
9 for (cx = 0; cx < 2; ++cx)
10 while (xe < 1)
11 {
12 for (cx = 0; cx < 2; ++cx)
13 pj *= 2;
14
15 if (cx != 0)
16 goto o3;
17
18 ++xe;
19 }
20
21 o3:
22 return pj;
23 }