OSDN Git Service

* calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Sep 2005 17:14:24 +0000 (17:14 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Sep 2005 17:14:24 +0000 (17:14 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104405 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/calls.c

index ffe4d2b..9da5292 100644 (file)
@@ -1,3 +1,7 @@
+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
index 4074dbd..8d5379f 100644 (file)
@@ -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;