https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92747

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Or add an attribute that would work as nothrow if called from
-fno-non-call-exceptions and as nothing otherwise.
Though, e.g. for C++ sin in the library is really marked throw () rather than
using nothrow attribute, so it couldn't be changed easily to some new
attribute.
It makes no sense to invent something x86 specific until the generic builtins
stuff is resolved, and whether it should be resolved or not depends on what the
Ada/Go folks or whomever uses -fnon-call-exceptions actually need.

Reply via email to