This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Remove some warnings
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: Remove some warnings
- From: Bernd Schmidt <bernds at redhat dot com>
- Date: Fri, 12 Jan 2001 17:44:30 +0000 (GMT)
- Cc: <gcc-patches at gcc dot gnu dot org>
On 12 Jan 2001, Andreas Jaeger wrote:
> * config/i386/i386.c (ix86_expand_fp_compare): Remove unused label
> do_sahf.
> (ix86_init_builtins): Make i unsigned to remove warnings.
> (ix86_expand_builtin): Likewise.
>
> * gencodes.c (output_predicate_decls): Make i unsigned to avoid
> warning about comparison between signed and unsigned.
Isn't it possible for sizeof to return a signed type on some hosts? Maybe
this is better fixed with casts in the for statements?
> * haifa-sched.c (restore_line_notes): Remove argument block B
> since it's unused.
> * sched-ebb.c (schedule_ebb): Change caller.
> * sched-rgn.c (schedule_region): Likewise.
> * sched-int.h: Change prototype.
This part is ok.
Bernd