Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr58901-1.c

raw
1 typedef signed int __attribute__ ((mode (SI))) int_t;
2
3 struct s
4 {
5 int_t n;
6 int_t m : 1;
7 int_t l : 31;
8 };
9
10 int_t
11 movdi (int_t x, const struct s *s)
12 {
13 int_t i;
14
15 for (i = 0; i < x; i++)
16 {
17 const struct s t = s[i];
18 x += t.m ? 1 : 0;
19 }
20 return x;
21 }