comparison gcc/testsuite/gcc.dg/torture/pr87266-3.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-additional-options "-fno-tree-ccp -fno-tree-forwprop" } */
3
4 void
5 iw (int gu, int mq, int r2)
6 {
7 int yn = 0;
8
9 while (gu < 1)
10 {
11 int ay = 0;
12
13 for (;;)
14 ;
15
16 bb:
17 while (ay < 1)
18 ++mq;
19 }
20
21 if (yn != 0)
22 goto up;
23
24 if (0)
25 {
26 up:
27 if (r2 == 0)
28 goto bb;
29 }
30
31 goto up;
32 }