Fix fnspec of math builtins
authorJan Hubicka <jh@suse.cz>
Tue, 27 Oct 2020 08:51:56 +0000 (09:51 +0100)
committerJan Hubicka <jh@suse.cz>
Tue, 27 Oct 2020 08:51:56 +0000 (09:51 +0100)
commit0365b9e4af29dc65c4d1634ca3444362d2ad0422
tree7ad21a03f9475aa26f7cf0e9e816a34afcfb887b
parente94de06fd6077438539b2d7c18eb8fcb113bd9b6
Fix fnspec of math builtins

* builtin-attrs.def (STRERRNOC): New macro.
(STRERRNOP): New macro.
(ATTR_ERRNOCONST_NOTHROW_LEAF_LIST): New attr list.
(ATTR_ERRNOPURE_NOTHROW_LEAF_LIST): New attr list.
* builtins.def (ATTR_MATHFN_ERRNO): Use
ATTR_ERRNOCONST_NOTHROW_LEAF_LIST.
(ATTR_MATHFN_FPROUNDING_ERRNO): Use ATTR_ERRNOCONST_NOTHROW_LEAF_LIST
or ATTR_ERRNOPURE_NOTHROW_LEAF_LIST.
gcc/builtin-attrs.def
gcc/builtins.def