]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
h8300.c (WORD_REG_USED): Fix typo.
authorJeffrey A Law <law@cygnus.com>
Fri, 2 Oct 1998 10:54:45 +0000 (10:54 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 2 Oct 1998 10:54:45 +0000 (04:54 -0600)
        * h8300.c (WORD_REG_USED): Fix typo.
        (initial_offset): Use WORD_REG_USED.
        * h8300.c (handle_pragma): Fix typo.

From-SVN: r22755

gcc/ChangeLog
gcc/config/h8300/h8300.c

index 2e92aa0fbc02326e03542e047196fdd8b1441192..fcb480e0636f60d282919207e7e2a9b4a447a953 100644 (file)
@@ -1,3 +1,10 @@
+Fri Oct  2 11:52:35 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * h8300.c (WORD_REG_USED): Fix typo.
+       (initial_offset): Use WORD_REG_USED.
+
+       * h8300.c (handle_pragma): Fix typo.
+
 Fri Oct  2 10:51:35 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
 
        * caller-save.c (insert_save_restore): Break this function up
index 92af43165b12001abb6745b52948ef542c6c7a58..603b3e0f64e33a3224bed99f78385be097c407fb 100644 (file)
@@ -127,7 +127,7 @@ byte_reg (x, b)
    (interrupt_handler                                          \
     || pragma_saveall                                          \
     || (regno == FRAME_POINTER_REGNUM && regs_ever_live[regno])        \
-    || (regs_ever_live[regno] & !call_used_regs[regno])))
+    || (regs_ever_live[regno] && !call_used_regs[regno])))
 
 /* Output assembly language to FILE for the operation OP with operand size
    SIZE to adjust the stack pointer.  */
@@ -856,7 +856,7 @@ eq_operator (x, mode)
    with this attribute may be safely used in an interrupt vector.  */
 
 int
-handle_pragma (p_getc, p_ungetc, name)
+handle_pragma (p_getc, p_ungetc, pname)
      int (*  p_getc) PROTO ((void));
      void (* p_ungetc) PROTO ((int));
      char * pname;
@@ -1574,8 +1574,7 @@ initial_offset (from, to)
       int regno;
 
       for (regno = 0; regno < FIRST_PSEUDO_REGISTER; regno++)
-       if ((regs_ever_live[regno]
-            && (!call_used_regs[regno] || regno == FRAME_POINTER_REGNUM)))
+       if (WORD_REG_USED (regno))
          offset += UNITS_PER_WORD;
 
       /* See the comments for get_frame_size.  We need to round it up to