aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-09-18 19:14:24 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2005-09-18 17:14:24 +0000
commite238ccac47fd907340beefce8cdb402c475b8fb5 (patch)
treec7b912f9bd17bce6d78c4ad9acee72c4df8a47f6 /gcc/calls.c
parentf7952e0ac267cc56c14ebbb22c1815a23ad3cf2e (diff)
downloadgcc-e238ccac47fd907340beefce8cdb402c475b8fb5.zip
gcc-e238ccac47fd907340beefce8cdb402c475b8fb5.tar.gz
gcc-e238ccac47fd907340beefce8cdb402c475b8fb5.tar.bz2
* calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK.
From-SVN: r104405
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index 4074dbd..8d5379f 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -582,7 +582,7 @@ flags_from_decl_or_type (tree exp)
/* The function exp may have the `pure' attribute. */
if (DECL_IS_PURE (exp))
- flags |= ECF_PURE | ECF_LIBCALL_BLOCK;
+ flags |= ECF_PURE;
if (DECL_IS_NOVOPS (exp))
flags |= ECF_NOVOPS;
@@ -591,7 +591,7 @@ flags_from_decl_or_type (tree exp)
flags |= ECF_NOTHROW;
if (TREE_READONLY (exp) && ! TREE_THIS_VOLATILE (exp))
- flags |= ECF_LIBCALL_BLOCK | ECF_CONST;
+ flags |= ECF_CONST;
flags = special_function_p (exp, flags);
}
@@ -606,7 +606,7 @@ flags_from_decl_or_type (tree exp)
if (TREE_CODE (type) == FUNCTION_TYPE && TYPE_RETURNS_STACK_DEPRESSED (type))
{
flags |= ECF_SP_DEPRESSED;
- flags &= ~(ECF_PURE | ECF_CONST | ECF_LIBCALL_BLOCK);
+ flags &= ~(ECF_PURE | ECF_CONST);
}
return flags;