comparison gcc/testsuite/gcc.dg/pr83771.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/83771 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -fmodulo-sched -fno-ssa-phiopt" } */
4
5 long int a;
6 int b;
7 int foo (int);
8
9 void
10 bar (void)
11 {
12 int c;
13 do
14 {
15 c = a / (!!b == 1);
16 c = !!c + 1;
17 }
18 while (foo (c) < 1);
19 }