https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96266
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think it is just testcase bug. In particular the inline bool operator&(int flags, SRT_EPOLL_OPT eflg) { return (flags & int(eflg)) != 0; } operator is a very bad idea, because then any of the & operations where you expect it to work like it would without the operator behave differently.