https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143
--- Comment #8 from James Clarke <jrtc27 at jrtc27 dot com> --- Created attachment 42719 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42719&action=edit Reduced reproduction. This is a reduced version of the original reproduction. Creduce will happily make it even smaller if you let it do crazy enum-to-pointer casts and various other warning-inducing things, but this builds with -Wall -Werror.