https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102294
--- Comment #5 from Bart Van Assche <bart.vanassche at gmail dot com> --- Please note that bio_init3() does not use atomic_set() but ATOMIC_INIT(). The definition of ATOMIC_INIT() is as follows: #define ATOMIC_INIT(v) (atomic_t){.counter = (v)}