diff options
author | Zdenek Dvorak <dvorakz@suse.cz> | 2005-03-14 17:21:16 +0100 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2005-03-14 16:21:16 +0000 |
commit | dcd6de6d69c1e59a28345db24de577f8e60fdbd0 (patch) | |
tree | 5260f74234c5264de982dff0fa79d5c8f864f9e6 /gcc/c-decl.c | |
parent | 0e8c2b0d432304242caaf3d6415bdb887431cee5 (diff) | |
download | gcc-dcd6de6d69c1e59a28345db24de577f8e60fdbd0.zip gcc-dcd6de6d69c1e59a28345db24de577f8e60fdbd0.tar.gz gcc-dcd6de6d69c1e59a28345db24de577f8e60fdbd0.tar.bz2 |
builtin-attrs.def (ATTR_NOVOPS, [...]): New.
* builtin-attrs.def (ATTR_NOVOPS, ATTR_NOVOPS_LIST,
ATTR_PURE_NOTHROW_NOVOPS_LIST): New.
* builtins.def (ATTR_MATHFN_FPROUNDING): Use NOVOPS.
(BUILT_IN_PREFETCH): Set the NOVOPS attribute.
* c-common.c (handle_novops_attribute): New function.
(c_common_attribute_table): Add "no vops" entry.
* c-decl.c (merge_decls): Copy DECL_IS_NOVOPS.
* calls.c (flags_from_decl_or_type): Set ECF_NOVOPS.
* tree-ssa-operands.c (get_call_expr_operands): Do not
create virtual operands for calls with ECF_NOVOPS flag.
* tree.h (DECL_IS_NOVOPS): New macro.
(struct tree_decl): Add novops_flag.
(ECF_NOVOPS): New constant.
From-SVN: r96438
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 400c6cf..eee7b66 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -1689,6 +1689,7 @@ merge_decls (tree newdecl, tree olddecl, tree newtype, tree oldtype) TREE_READONLY (newdecl) |= TREE_READONLY (olddecl); DECL_IS_MALLOC (newdecl) |= DECL_IS_MALLOC (olddecl); DECL_IS_PURE (newdecl) |= DECL_IS_PURE (olddecl); + DECL_IS_NOVOPS (newdecl) |= DECL_IS_NOVOPS (olddecl); } /* Merge the storage class information. */ |