* config/i386/i386.c (ix86_expand_call): Make cregs_size unsigned.
authorJakub Jelinek <jakub@redhat.com>
Sat, 27 Apr 2013 12:29:42 +0000 (14:29 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 27 Apr 2013 12:29:42 +0000 (14:29 +0200)
From-SVN: r198358

gcc/ChangeLog
gcc/config/i386/i386.c

index 980a6ba..6cce4a6 100644 (file)
@@ -1,5 +1,7 @@
 2013-04-27  Jakub Jelinek  <jakub@redhat.com>
 
+       * config/i386/i386.c (ix86_expand_call): Make cregs_size unsigned.
+
        PR target/56866
        * config/i386/i386.c (ix86_expand_mul_widen_evenodd): Don't
        use xop_pmacsdqh if uns_p.
index 886f15a..03191a6 100644 (file)
@@ -23714,7 +23714,8 @@ ix86_expand_call (rtx retval, rtx fnaddr, rtx callarg1,
                  rtx callarg2,
                  rtx pop, bool sibcall)
 {
-  int const cregs_size = ARRAY_SIZE (x86_64_ms_sysv_extra_clobbered_registers);
+  unsigned int const cregs_size
+    = ARRAY_SIZE (x86_64_ms_sysv_extra_clobbered_registers);
   rtx vec[3 + cregs_size];
   rtx use = NULL, call;
   unsigned int vec_len = 0;