* expr.c (emit_group_store): Make bytepos a HOST_WIDE_INT to
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Mar 2006 03:53:47 +0000 (03:53 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 31 Mar 2006 03:53:47 +0000 (03:53 +0000)
signed vs. unsigned comparison failures on some hosts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112567 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/expr.c

index 706f592..af85cdd 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-30  Roger Sayle  <roger@eyesopen.com>
+
+       * expr.c (emit_group_store): Make BYTEPOS a HOST_WIDE_INT to
+       signed vs. unsigned comparison failures on some hosts.
+
 2006-03-31  Alan Modra  <amodra@bigpond.net.au>
 
        PR target/26459
index 059f082..324a427 100644 (file)
@@ -1926,7 +1926,7 @@ emit_group_store (rtx orig_dst, rtx src, tree type ATTRIBUTE_UNUSED, int ssize)
     {
       enum machine_mode outer = GET_MODE (dst);
       enum machine_mode inner;
-      unsigned int bytepos;
+      HOST_WIDE_INT bytepos;
       bool done = false;
       rtx temp;