dwarf2out.c (expand_builtin_dwarf_reg_size): Initialize last_end to 0x7fffffff.
authorJohn Carr <jfc@mit.edu>
Sat, 3 Oct 1998 13:21:10 +0000 (13:21 +0000)
committerJohn Carr <jfc@gcc.gnu.org>
Sat, 3 Oct 1998 13:21:10 +0000 (13:21 +0000)
From-SVN: r22790

gcc/ChangeLog
gcc/dwarf2out.c

index efcfefa0829d38d0c1dea52d6fdc71343c238545..cc989876c8510ad89d6633a3bdcde2ec6397647a 100644 (file)
@@ -1,3 +1,8 @@
+Sat Oct  3 16:14:44 1998  John Carr  <jfc@mit.edu>
+
+       * dwarf2out.c (expand_builtin_dwarf_reg_size):  Initialize
+       last_end to 0x7fffffff.
+
 Fri Oct  2 19:14:20 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
 
        * function.c (purge_addressof_1): Do not perform endianness
index 9531509d300e94fe068205872f3f6a0ff87b4635..21367bb26c0342382c29e05c2c889d98fc7c32a6 100644 (file)
@@ -642,7 +642,9 @@ expand_builtin_dwarf_reg_size (reg_tree, target)
     }
   else
     {
-      int last_end = FIRST_PSEUDO_REGISTER;
+      /* Initialize last_end to be larger than any possible
+        DWARF_FRAME_REGNUM.  */
+      int last_end = 0x7fffffff;
       --n_ranges;
       t = build_int_2 (ranges[n_ranges].size, 0);
       do