comparison gcc/testsuite/gcc.c-torture/compile/pr85401.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 int h (void);
5 int i (int);
6
7 struct a b;
8 struct a
9 {
10 unsigned c:4;
11 } d ()
12 {
13 int e, f = b.c << 2, g = h ();
14 for (; g;)
15 ;
16 if (e == 0)
17 if (f)
18 i (f);
19 return b;
20 }