1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-strict-overflow -fsanitize=shift -Warray-bounds" } */
6 NR_PSI_TASK_COUNTS
= 4,
9 unsigned int tasks
[NR_PSI_TASK_COUNTS
];
11 static void psi_group_change(unsigned int set
)
14 unsigned int state_mask
= 0;
16 for (t
= 0; set
; set
&= ~(1 << t
), t
++)
21 void psi_task_switch(int sleep
)
26 set
|= (1 << NR_IOWAIT
);
28 psi_group_change(set
);