Commit e238ccac by Jan Hubicka Committed by Jan Hubicka

* calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK.

From-SVN: r104405
parent f7952e0a
2005-09-18 Jan Hubicka <jh@suse.cz>
* calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK.
2005-09-18 Eric Botcazou <ebotcazou@adacore.com>
* varasm.c (output_constant): Do not abort on conversions to union
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment