This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Remove some warnings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]