https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64711
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > as the comments says the check isn't correct but it might work for simple > non-LTO cases. Anybody willing to try? But isn't LTO towards being the default these days? If so, what's the point of punishing every function for something that doesn't really work with LTO? Cannot we clear the nothrow flag on the functions selectively instead?