https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109528
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|analyzer |c Keywords| |diagnostic --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Actually it looks more like _Noreturn is not take effect on the declaration. If I use __attribute__((noreturn)) or [[gnu::noreturn]] (or on the trunk [[noreturn]] which is part of C23) instead, it just works.