------- Comment #59 from alond at il dot ibm dot com 2008-01-29 10:01 -------
(In reply to comment #58)
> On hppa2.0w-hp-hpux11.11, we are down to:
Dave,
Can you please try this patch:
Index: ipa-struct-reorg.c
===================================================================
--- ipa-struct-reorg.c (revision 131933)
+++ ipa-struct-reorg.c (working copy)
@@ -614,7 +614,7 @@
gen_size (tree num, tree type, tree *res)
{
tree struct_size = TYPE_SIZE_UNIT (type);
- HOST_WIDE_INT struct_size_int = TREE_INT_CST_LOW (struct_size);
+ HOST_WIDE_INT struct_size_int = int_cst_value (struct_size);
tree new_stmt;
*res = create_tmp_var (TREE_TYPE (num), NULL);
@@ -1787,7 +1787,7 @@
return NULL_TREE;
struct_size = TYPE_SIZE_UNIT (str_decl);
- struct_size_int = TREE_INT_CST_LOW (struct_size);
+ struct_size_int = int_cst_value (struct_size);
gcc_assert (struct_size);
Alon
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34483