https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89450
--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #8) > (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. Yep, that's exactly what we've been doing :)