https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Martin Liška from comment #7) > in switch statements, we have a huge patch: > https://build.opensuse.org/package/view_file/network:chromium/chromium-beta/ > chromium-non-void-return.patch?expand=1 Part of it should be resolved if you define NOTREACHED correctly .... Maybe to __builtin_unreachable.