alpha.c (alpha_start_function): Declare frame_size as unsigned to avoid signed/unsign...
authorRoger Sayle <roger@eyesopen.com>
Sat, 10 May 2003 02:05:36 +0000 (02:05 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sat, 10 May 2003 02:05:36 +0000 (02:05 +0000)
* config/alpha/alpha.c (alpha_start_function): Declare frame_size
as unsigned to avoid signed/unsigned comparison warnings.

From-SVN: r66654

gcc/ChangeLog
gcc/config/alpha/alpha.c

index 20b38112db8e808468d95951ed6858ae9ec3ec6f..1139a625af79bb985a3fb749eb247b9a7c57174e 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-09  Roger Sayle  <roger@eyesopen.com>
+
+       * config/alpha/alpha.c (alpha_start_function): Declare frame_size
+       as unsigned to avoid signed/unsigned comparison warnings.
+
 2003-05-09  Bob Wilson  <bob.wilson@acm.org>
 
        * config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
index e6a6410ebc5826c24240d6cdc8827b987559cb65..cdb45532825d55d2831f51202fe037122ac599f1 100644 (file)
@@ -7571,7 +7571,7 @@ alpha_start_function (file, fnname, decl)
   /* Stack space needed for pushing registers clobbered by us.  */
   HOST_WIDE_INT sa_size;
   /* Complete stack size needed.  */
-  HOST_WIDE_INT frame_size;
+  unsigned HOST_WIDE_INT frame_size;
   /* Offset from base reg to register save area.  */
   HOST_WIDE_INT reg_offset;
   char *entry_label = (char *) alloca (strlen (fnname) + 6);