This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] h8300.c: Clean up.
- To: Kazu Hirata <kazu at hxi dot com>
- Subject: Re: [patch] h8300.c: Clean up.
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 10 Aug 2000 17:21:49 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <200008100510.WAA27856@cygnus.com>you write:
> Hi,
>
> Attached is a patch to clean up miscellaneous things in h8300.c.
>
> Changes in dosize, get_shift_alg, and emit_a_shift are all to keep gcc
> happy (no warnings!). The last one is just a readability issue. Each
> hunk does a separate thing.
>
> Thanks,
>
> Kazu Hirata
>
> ===File ~/gnu/gcc/ChangeLog-h8300.c=========================
> 2000-08-10 Kazu Hirata <kazu@hxi.com>
>
> * h8300.c: Fix comment typos.
> (dosize): Declare the variable amount as unsigned.
> (get_shift_alg): Fix a comparison between signed and unsigned.
> (emit_a_shift): Likewise.
> (h8300_adjust_insn_length): Simplify the code.
Thanks. Installed.
jeff