------- Additional Comments From laurent at guerby dot net 2005-09-23 17:33
-------
The 17 x86 only regressions were introduced by this patch, Jan asked me to look
for generated libcalls, more info soon.
2005-09-18 Jan Hubicka <[EMAIL PROTECTED]>
* calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK.
Index: calls.c
===================================================================
RCS file: /opt/gcc/rsync/gcc-cvs/gcc/gcc/calls.c,v
retrieving revision 1.400
retrieving revision 1.401
diff -u -r1.400 -r1.401
--- calls.c 31 Aug 2005 03:33:23 -0000 1.400
+++ calls.c 18 Sep 2005 17:14:24 -0000 1.401
@@ -582,7 +582,7 @@
/* 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 |= 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 @@
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;
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24003