diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-01 14:15:00 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-01 14:15:00 +0000 |
commit | 9c870c4c312e53c44a53f522dede04f69510c45c (patch) | |
tree | 2ff5adf05279b21168febcc9a4a2584703d87085 | |
parent | 6d7105fe4a7d259ce5b9d2d1f90282a45d82af07 (diff) | |
download | gcc-9c870c4c312e53c44a53f522dede04f69510c45c.tar.gz |
2012-10-01 Richard Guenther <rguenther@suse.de>
* builtins.def (ATTR_MATHFN_FPROUNDING): Do not use no-vops
with -frounding-math.
* builtin-attrs.def (ATTR_PURE_NOTHROW_NOVOPS_LIST): Remove.
(ATTR_PURE_NOTHROW_NOVOPS_LEAF_LIST): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191925 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/builtin-attrs.def | 4 | ||||
-rw-r--r-- | gcc/builtins.def | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 020892bdf39..2684193ee19 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2012-10-01 Richard Guenther <rguenther@suse.de> + + * builtins.def (ATTR_MATHFN_FPROUNDING): Do not use no-vops + with -frounding-math. + * builtin-attrs.def (ATTR_PURE_NOTHROW_NOVOPS_LIST): Remove. + (ATTR_PURE_NOTHROW_NOVOPS_LEAF_LIST): Likewise. + 2012-10-01 Eric Botcazou <ebotcazou@adacore.com> * tree.h (copy_mem_ref_info): Delete. diff --git a/gcc/builtin-attrs.def b/gcc/builtin-attrs.def index 9eb5e71c9b4..0c331fb4caa 100644 --- a/gcc/builtin-attrs.def +++ b/gcc/builtin-attrs.def @@ -127,10 +127,6 @@ DEF_ATTR_TREE_LIST (ATTR_PURE_NOTHROW_LIST, ATTR_PURE, \ ATTR_NULL, ATTR_NOTHROW_LIST) DEF_ATTR_TREE_LIST (ATTR_PURE_NOTHROW_LEAF_LIST, ATTR_PURE, \ ATTR_NULL, ATTR_NOTHROW_LEAF_LIST) -DEF_ATTR_TREE_LIST (ATTR_PURE_NOTHROW_NOVOPS_LIST, ATTR_NOVOPS, \ - ATTR_NULL, ATTR_PURE_NOTHROW_LIST) -DEF_ATTR_TREE_LIST (ATTR_PURE_NOTHROW_NOVOPS_LEAF_LIST, ATTR_NOVOPS,\ - ATTR_NULL, ATTR_PURE_NOTHROW_LEAF_LIST) DEF_ATTR_TREE_LIST (ATTR_NORETURN_NOTHROW_LIST, ATTR_NORETURN, \ ATTR_NULL, ATTR_NOTHROW_LIST) DEF_ATTR_TREE_LIST (ATTR_NORETURN_NOTHROW_LEAF_LIST, ATTR_NORETURN,\ diff --git a/gcc/builtins.def b/gcc/builtins.def index 8493ca41b34..69000bcfc04 100644 --- a/gcc/builtins.def +++ b/gcc/builtins.def @@ -163,7 +163,7 @@ along with GCC; see the file COPYING3. If not see memory. */ #undef ATTR_MATHFN_FPROUNDING #define ATTR_MATHFN_FPROUNDING (flag_rounding_math ? \ - ATTR_PURE_NOTHROW_NOVOPS_LEAF_LIST : ATTR_CONST_NOTHROW_LEAF_LIST) + ATTR_PURE_NOTHROW_LEAF_LIST : ATTR_CONST_NOTHROW_LEAF_LIST) /* Define an attribute list for math functions that are normally "impure" because some of them may write into global memory for |