https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93873
--- Comment #4 from Emil Fihlman <emil.fihlman at aalto dot fi> --- Problem persists with gcc 9.3, though it's no longer dependent on the bitfield. https://godbolt.org/z/RGu6hu If a free is behind a flag.