https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90541 --- Comment #2 from Andy Wingo <wingo at igalia dot com> --- Thanks for the information. For what it's worth, clang issues a warning for this code, and includes this warning under -Wall.