dwarf2out.c (expand_builtin_dwarf_reg_size): Use FIRST_PSEUDO_REGISTER as upper bound...
authorDavid S. Miller <davem@pierdol.cobaltmicro.com>
Thu, 1 Oct 1998 18:02:50 +0000 (18:02 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Thu, 1 Oct 1998 18:02:50 +0000 (11:02 -0700)
* dwarf2out.c (expand_builtin_dwarf_reg_size): Use
FIRST_PSEUDO_REGISTER as upper bound for last_end, not an
arbitrary constant.

From-SVN: r22722

gcc/ChangeLog
gcc/dwarf2out.c

index 7fc007eb693c86f4f78e96dfa51493b9c8e9fba0..f77ad08e99b4f69345b4fb57b54a895b844092b8 100644 (file)
@@ -1,3 +1,9 @@
+Thu Oct  1 17:58:25 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
+
+       * dwarf2out.c (expand_builtin_dwarf_reg_size): Use
+       FIRST_PSEUDO_REGISTER as upper bound for last_end, not an
+       arbitrary constant.
+
 Thu Oct  1 17:57:14 1998  Nick Clifton  <nickc@cygnus.com>
 
        * config/arm/arm.c: Improve interworking support.
index 9826c3809a26f1cdf5e890e5aa6614605c090f36..9531509d300e94fe068205872f3f6a0ff87b4635 100644 (file)
@@ -642,7 +642,7 @@ expand_builtin_dwarf_reg_size (reg_tree, target)
     }
   else
     {
-      int last_end = 100;
+      int last_end = FIRST_PSEUDO_REGISTER;
       --n_ranges;
       t = build_int_2 (ranges[n_ranges].size, 0);
       do