OSDN Git Service

* dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Fix typo.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jul 2000 21:02:37 +0000 (21:02 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jul 2000 21:02:37 +0000 (21:02 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35063 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/dwarf2out.c

index 1f29e65..ae4aedf 100644 (file)
@@ -1,3 +1,7 @@
+2000-07-16  Mark Mitchell  <mark@codesourcery.com>
+
+       * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Fix typo.
+
 2000-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
index 90f6ae8..a8859e0 100644 (file)
@@ -626,7 +626,7 @@ expand_builtin_init_dwarf_reg_sizes (address)
   rtx addr = expand_expr (address, NULL_RTX, VOIDmode, 0);
   rtx mem = gen_rtx_MEM (mode, addr);
 
-  i = MAX (FIRST_PSEUDO_REGISTER, DWARF_FRAME_REGISTERS);
+  i = MIN (FIRST_PSEUDO_REGISTER, DWARF_FRAME_REGISTERS);
   while (i--)
     {
       int offset = DWARF_FRAME_REGNUM (i) * GET_MODE_SIZE (mode);