https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86647
Vincent Mailhol <mailhol.vincent at wanadoo dot fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mailhol.vincent at wanadoo dot fr --- Comment #7 from Vincent Mailhol <mailhol.vincent at wanadoo dot fr> --- (In reply to Eric Gallager from comment #6) > Apparently this issue affects the Linux kernel: > https://gcc.gnu.org/pipermail/gcc/2022-April/238605.html Actually, false alter. The -Wtype-limits we see in the Linux kernel is not triggered by a comparison with a constant expression: https://gcc.gnu.org/pipermail/gcc/2022-May/238669.html