diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-10-02 10:54:45 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-10-02 04:54:45 -0600 |
commit | d01d29035e2120d46d44a9620b76c0d0825b260f (patch) | |
tree | 38ed8d4c82e9ec858c825a8f70cf297df9476f4b | |
parent | 4554e20d809b431126e2071ea14d0646db63a438 (diff) | |
download | gcc-d01d29035e2120d46d44a9620b76c0d0825b260f.zip gcc-d01d29035e2120d46d44a9620b76c0d0825b260f.tar.gz gcc-d01d29035e2120d46d44a9620b76c0d0825b260f.tar.bz2 |
h8300.c (WORD_REG_USED): Fix typo.
* h8300.c (WORD_REG_USED): Fix typo.
(initial_offset): Use WORD_REG_USED.
* h8300.c (handle_pragma): Fix typo.
From-SVN: r22755
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.c | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2e92aa0..fcb480e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 92af431..603b3e0 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -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 |