From: Daniel Berlin Date: Tue, 26 Jun 2001 19:24:09 +0000 (+0000) Subject: toplev.c (display_help): Fix param thinko. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=639bc36cede2c6e922f869d730a072909014112e;p=gcc.git toplev.c (display_help): Fix param thinko. 2001-06-26 Daniel Berlin * toplev.c (display_help): Fix param thinko. * Makefile.in: Fix params.h dependencies. From-SVN: r43589 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 44d7294847d..26bda4e49f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-06-26 Daniel Berlin + + * toplev.c (display_help): Fix param thinko. + * Makefile.in: Fix params.h dependencies. + 2001-06-26 Gabriel Dos Reis * toplev.c (decode_f_option): Adjust setting. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 811a9440717..62d90591d57 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -559,6 +559,7 @@ TM_P_H = tm_p.h $(tm_p_file_list) insn-codes.h MACHMODE_H = machmode.h machmode.def RTL_BASE_H = rtl.h rtl.def $(MACHMODE_H) RTL_H = $(RTL_BASE_H) genrtl.h +PARAMS_H = params.h params.def TREE_H = tree.h real.h tree.def $(MACHMODE_H) tree-check.h version.h builtins.def BASIC_BLOCK_H = basic-block.h bitmap.h sbitmap.h varray.h DEMANGLE_H = $(srcdir)/../include/demangle.h @@ -1337,7 +1338,7 @@ toplev.o : toplev.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) function.h \ insn-config.h intl.h $(RECOG_H) Makefile toplev.h dwarfout.h \ dwarf2out.h sdbout.h dbxout.h $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) \ graph.h $(LOOP_H) except.h $(REGS_H) $(TIMEVAR_H) $(lang_options_files) \ - ssa.h params.h $(TM_P_H) reload.h dwarf2asm.h + ssa.h $(PARAMS_H) $(TM_P_H) reload.h dwarf2asm.h $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(MAYBE_USE_COLLECT2) \ -DTARGET_NAME=\"$(target_alias)\" \ -c $(srcdir)/toplev.c @@ -1410,7 +1411,7 @@ real.o : real.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) toplev.h $(TM_P_H) integrate.o : integrate.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) flags.h \ $(INTEGRATE_H) insn-config.h $(EXPR_H) real.h $(REGS_H) \ intl.h function.h output.h $(RECOG_H) except.h toplev.h $(LOOP_H) \ - params.h $(TM_P_H) + $(PARAMS_H) $(TM_P_H) jump.o : jump.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h hard-reg-set.h $(REGS_H) \ insn-config.h $(RECOG_H) $(EXPR_H) real.h except.h function.h \ toplev.h $(INSN_ATTR_H) $(TM_P_H) reload.h $(PREDICT_H) @@ -1426,12 +1427,12 @@ cse.o : cse.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) hard-reg-set.h flags.h $(BASIC_BLOCK_H) $(GGC_H) $(TM_P_H) gcse.o : gcse.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) hard-reg-set.h \ flags.h real.h insn-config.h ggc.h $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) \ - function.h output.h toplev.h $(TM_P_H) params.h + function.h output.h toplev.h $(TM_P_H) $(PARAMS_H) sibcall.o : sibcall.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) function.h \ hard-reg-set.h flags.h insn-config.h $(RECOG_H) $(BASIC_BLOCK_H) resource.o : resource.c $(CONFIG_H) $(RTL_H) hard-reg-set.h $(SYSTEM_H) \ $(BASIC_BLOCK_H) $(REGS_H) flags.h output.h resource.h function.h toplev.h \ - $(INSN_ATTR_H) except.h params.h $(TM_P_H) + $(INSN_ATTR_H) except.h $(PARAMS_H) $(TM_P_H) lcm.o : lcm.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) hard-reg-set.h flags.h \ real.h insn-config.h $(INSN_ATTR_H) $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) \ $(TM_P_H) @@ -1485,7 +1486,7 @@ caller-save.o : caller-save.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h \ $(RECOG_H) reload.h $(EXPR_H) toplev.h $(TM_P_H) reorg.o : reorg.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) conditions.h hard-reg-set.h \ $(BASIC_BLOCK_H) $(REGS_H) insn-config.h $(INSN_ATTR_H) \ - $(RECOG_H) function.h flags.h output.h $(EXPR_H) toplev.h params.h $(TM_P_H) + $(RECOG_H) function.h flags.h output.h $(EXPR_H) toplev.h $(PARAMS_H) $(TM_P_H) alias.o : alias.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h hard-reg-set.h \ $(BASIC_BLOCK_H) $(REGS_H) toplev.h output.h $(EXPR_H) \ $(GGC_H) function.h cselib.h $(TREE_H) $(TM_P_H) @@ -1533,7 +1534,7 @@ ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(REGS_H) toplev.h \ output.h $(TM_P_H) dependence.o : dependence.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) \ $(C_COMMON_H) flags.h varray.h $(EXPR_H) -params.o : params.c $(CONFIG_H) $(SYSTEM_H) params.h toplev.h +params.o : params.c $(CONFIG_H) $(SYSTEM_H) $(PARAMS_H) toplev.h $(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) $(GGC_H) \ $(RTL_H) $(REGS_H) hard-reg-set.h real.h insn-config.h conditions.h \ diff --git a/gcc/toplev.c b/gcc/toplev.c index 670cd9748ab..f53137e7f7d 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -3880,7 +3880,7 @@ display_help () printf (_(" -O[number] Set optimisation level to [number]\n")); printf (_(" -Os Optimise for space rather than speed\n")); - for (i = sizeof (compiler_params); i--;) + for (i = LAST_PARAM; i--;) { const char *description = compiler_params[i].help; const int length = 21-strlen(compiler_params[i].option);