[Bug c++/89450] RFC: Strengthen -fstrict-enums
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 25 20:51:00 GMT 2019
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.
More information about the Gcc-bugs
mailing list