https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100403
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note, the following condition in the if statement if (x.rec <= msg && msg < x.rec + sizeof(x)) Is undefined if msg is not in the range of x.rec[0]...x.rec[RECLEN] .