Debian Codegraph @

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

raw
1 typedef int __attribute__ ((mode (SI))) int_t;
2
3 struct s
4 {
5 int_t n;
6 int_t c[];
7 };
8
9 int_t
10 ashlsi (int_t x, const struct s *s)
11 {
12 int_t i;
13
14 for (i = 0; i < s->n; i++)
15 x ^= 1 << s->c[i];
16 return x;
17 }