Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/pr83512.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 /* PR rtl-optimization/83512 */ | |
2 /* { dg-do compile } */ | |
3 /* { dg-options "-O2 -freorder-blocks-algorithm=simple" } */ | |
4 | |
5 int a; | |
6 | |
7 void | |
8 foo (int *x) | |
9 { | |
10 for (;;) | |
11 { | |
12 for (*x = 0; *x < 1; *x++) | |
13 ; | |
14 ++a; | |
15 } | |
16 } |