From: Kaveh R. Ghazi Date: Fri, 22 Dec 2000 12:27:36 +0000 (+0000) Subject: Makefile.in (sched-deps.o, [...]): Fix dependency typo. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc608b0321008b7fab4f1d797d5f0a7855b47b02;p=gcc.git Makefile.in (sched-deps.o, [...]): Fix dependency typo. * Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo. * fp-bit.h (usi_to_float): Add prototype. * i386.c (file_info_cmp): Likewise. (dwarf2out_line): Hide variable `old_in_use'. * objc-act.c (objc_fatal): Delete. * sched-vis.c (visualize_stall_cycles): Remove unused variable. * system.h (getopt): Fix error in last change. * varasm.c (assemble_trampoline_template): Constify. From-SVN: r38452 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f45750fd56e..5ac8c253923 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,20 @@ +2000-12-22 Kaveh R. Ghazi + + * Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo. + + * fp-bit.h (usi_to_float): Add prototype. + + * i386.c (file_info_cmp): Likewise. + (dwarf2out_line): Hide variable `old_in_use'. + + * objc-act.c (objc_fatal): Delete. + + * sched-vis.c (visualize_stall_cycles): Remove unused variable. + + * system.h (getopt): Fix error in last change. + + * varasm.c (assemble_trampoline_template): Constify. + 2000-12-22 Jason Merrill * collect2.c (main): Use auto_demangling. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 96394578d20..2e76bed9ad1 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1458,10 +1458,10 @@ regmove.o : regmove.c $(CONFIG_H) system.h $(RTL_H) insn-config.h \ haifa-sched.o : haifa-sched.c $(CONFIG_H) system.h $(RTL_H) sched-int.h \ $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h flags.h insn-config.h function.h \ $(INSN_ATTR_H) insn-flags.h toplev.h $(RECOG_H) except.h -sched-deps.o : haifa-sched.c $(CONFIG_H) system.h $(RTL_H) sched-int.h \ +sched-deps.o : sched-deps.c $(CONFIG_H) system.h $(RTL_H) sched-int.h \ $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h flags.h insn-config.h function.h \ $(INSN_ATTR_H) toplev.h $(RECOG_H) except.h -sched-rgn.o : haifa-sched.c $(CONFIG_H) system.h $(RTL_H) sched-int.h \ +sched-rgn.o : sched-rgn.c $(CONFIG_H) system.h $(RTL_H) sched-int.h \ $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h flags.h insn-config.h function.h \ $(INSN_ATTR_H) toplev.h $(RECOG_H) except.h sched-ebb.o : sched-ebb.c $(CONFIG_H) system.h $(RTL_H) sched-int.h \ diff --git a/gcc/config/fp-bit.h b/gcc/config/fp-bit.h index 1eb134dadfa..88d72db269d 100644 --- a/gcc/config/fp-bit.h +++ b/gcc/config/fp-bit.h @@ -384,6 +384,10 @@ extern USItype float_to_usi (FLO_type); #endif #endif +#if defined(L_usi_to_sf) || defined(L_usi_to_df) +extern FLO_type usi_to_float (USItype); +#endif + #if defined(L_negate_sf) || defined(L_negate_df) extern FLO_type negate (FLO_type); #endif diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 9a80d004ece..3bd1b81141a 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -8295,7 +8295,6 @@ ix86_expand_builtin (exp, target, subtarget, mode, ignore) if (d->code == fcode) return ix86_expand_sse_comi (d, arglist, target); - fail: /* @@@ Should really do something sensible here. */ return 0; } diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 39d76b24618..8c6b6ce5a4b 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -3533,6 +3533,7 @@ static void gen_type_die_for_member PARAMS ((tree, tree, dw_die_ref)); static void gen_abstract_function PARAMS ((tree)); static rtx save_rtx PARAMS ((rtx)); static void splice_child_die PARAMS ((dw_die_ref, dw_die_ref)); +static int file_info_cmp PARAMS ((const void *, const void *)); /* Section names used to hold DWARF debugging information. */ #ifndef DEBUG_INFO_SECTION @@ -11338,7 +11339,9 @@ dwarf2out_line (filename, line) if (DWARF2_ASM_LINE_DEBUG_INFO) { +#if 0 unsigned old_in_use = line_file_table.in_use; +#endif unsigned file_num = lookup_filename (&line_file_table, filename); /* Emit the .file and .loc directives understood by GNU as. */ diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index f983e879b70..5b6e33a8508 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -276,8 +276,6 @@ static void dump_interface PARAMS ((FILE *, tree)); /* Everything else. */ -static void objc_fatal PARAMS ((void)) - ATTRIBUTE_NORETURN; static tree define_decl PARAMS ((tree, tree)); static tree lookup_method_in_protocol_list PARAMS ((tree, tree, int)); static tree lookup_protocol_in_reflist PARAMS ((tree, tree)); @@ -745,12 +743,6 @@ lang_init () c_parse_init (); } -static void -objc_fatal () -{ - fatal ("Objective-C text in C source file"); -} - void finish_file () { diff --git a/gcc/sched-vis.c b/gcc/sched-vis.c index 764876c9295..4cd07790130 100644 --- a/gcc/sched-vis.c +++ b/gcc/sched-vis.c @@ -901,7 +901,6 @@ void visualize_stall_cycles (stalls) int stalls; { - int i; const char *prefix = ";; "; const char *suffix = "\n"; char *p; diff --git a/gcc/system.h b/gcc/system.h index ff21913ca48..ace7177047b 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -278,7 +278,7 @@ extern char *getenv PARAMS ((const char *)); #endif #if defined (HAVE_DECL_GETOPT) && !HAVE_DECL_GETOPT -extern int getopt PARAMS ((int, char * const *, char *)); +extern int getopt PARAMS ((int, char * const *, const char *)); #endif #if defined (HAVE_DECL_GETWD) && !HAVE_DECL_GETWD diff --git a/gcc/varasm.c b/gcc/varasm.c index 42e78e9b12c..b2c283e13b7 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1844,7 +1844,7 @@ rtx assemble_trampoline_template () { char label[256]; - char *name; + const char *name; int align; /* By default, put trampoline templates in read-only data section. */