comparison gcc/testsuite/gcc.c-torture/compile/pr82913.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/82913 */
2
3 unsigned int a;
4 unsigned long int b;
5
6 int
7 foo (void)
8 {
9 ++a;
10 b = 0;
11 }
12
13 unsigned long int
14 bar (int x)
15 {
16 if (!foo () || !a)
17 {
18 int c = a != b;
19 if (c != x)
20 return a;
21 }
22 return 0;
23 }