diff mbox

[wide-int] fix 32-bit x86 builds

Message ID 87r44eg6q5.fsf@sandifor-thinkpad.stglab.manchester.uk.ibm.com
State New
Headers show

Commit Message

Richard Sandiford April 30, 2014, 3:46 p.m. UTC
Mike Stump <mikestump@comcast.net> writes:
> We changed the underlying type a while back, and it matters on 32-bit
> pointer machines that use long long for a HOST_WIDE_INT… Caught by
> fold-checking, thanks fold checking.
>
> This is the tree-vrp problem, I think this was seen on arm as well.

Trivial follow-up to keep within the 80-column limit.  Committed as obvious.

Thanks,
Richard
diff mbox

Patch

Index: gcc/tree.c
===================================================================
--- gcc/tree.c	(revision 209936)
+++ gcc/tree.c	(working copy)
@@ -1959,7 +1959,8 @@ 
 make_int_cst_stat (int len, int ext_len MEM_STAT_DECL)
 {
   tree t;
-  int length = (ext_len - 1) * sizeof (HOST_WIDE_INT) + sizeof (struct tree_int_cst);
+  int length = ((ext_len - 1) * sizeof (HOST_WIDE_INT)
+		+ sizeof (struct tree_int_cst));
 
   gcc_assert (len);
   record_node_allocation_statistics (INTEGER_CST, length);