https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122796
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2025-11-21
Ever confirmed|0 |1
Summary|assert and fallthrough |assert/macros and
| |-Wsystem-headers and
| |fallthrough
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks like -Wno-system-headers is incorrectly supressing the warning.
Confirmed.