1. 01 Jan, 2017 1 commit
  2. 30 Jun, 2016 1 commit
    • Offer suggestions for misspelled --param names. · f4452176
      gcc/ChangeLog:
      	* opts.c (handle_param): Use find_param_fuzzy to offer suggestions
      	for misspelled param names.
      	* params.c: Include spellcheck.h.
      	(find_param_fuzzy): New function.
      	* params.h (find_param_fuzzy): New prototype.
      	* spellcheck.c (struct edit_distance_traits<const char *>): Move
      	to...
      	* spellcheck.h (struct edit_distance_traits<const char *>):
      	...here.
      
      gcc/testsuite/ChangeLog:
      	* gcc.dg/spellcheck-params.c: New testcase.
      	* gcc.dg/spellcheck-params-2.c: New testcase.
      
      From-SVN: r237865
      David Malcolm committed
  3. 04 Jan, 2016 1 commit
  4. 13 Oct, 2015 1 commit
    • Support DEFPARAMENUM in params.def · d78182cc
      2015-10-13  Tom de Vries  <tom@codesourcery.com>
      
      	* Makefile.in (PARAMS_H, PLUGIN_HEADERS): Add params-enum.h.
      	* params-enum.h: New file.
      	* opts.c (handle_param): Handle case that param arg is a string.
      	* params-list.h: Handle DEFPARAMENUM5 in params.def.
      	* params.c (find_param): New function, factored out of ...
      	(set_param_value): ... here.
      	(param_string_value_p): New function.
      	* params.h (struct param_info): Add value_names field.
      	(find_param, param_string_value_p): Declare.
      
      From-SVN: r228755
      Tom de Vries committed
  5. 05 Jan, 2015 1 commit
  6. 21 Oct, 2014 1 commit
    • State cleanups from jit branch · 3edf64aa
      gcc/ChangeLog:
      	* cgraph.c (cgraph_c_finalize): New function.
      	* cgraph.h (cgraph_c_finalize): New prototype.
      	(cgraphunit_c_finalize): New prototype.
      	* cgraphunit.c (first_analyzed): Move from analyze_functions
      	to file-scope.
      	(first_analyzed_var): Likewise.
      	(analyze_functions): Move static variables into file-scope.
      	(cgraphunit_c_finalize): New function.
      	* diagnostic.c (diagnostic_finish): Free the memory for
      	context->classify_diagnostic and context->printer, running the
      	destructor for the latter.
      	(bt_stop): Use toplev::main.
      	* dwarf2out.c (dwarf2out_finalize): New function.
      	* dwarf2out.h (dwarf2out_c_finalize): New prototype.
      	* gcse.c (gcse_c_finalize): New function.
      	* gcse.h (gcse_c_finalize): New prototype.
      	* ggc-page.c (init_ggc): Make idempotent.
      	* input.c (input_location): Initialize to UNKNOWN_LOCATION.
      	* ipa-cp.c (ipa_cp_c_finalize): New function.
      	* ipa-prop.h (ipa_cp_c_finalize): New prototype.
      	* ipa-pure-const.c (function_insertion_hook_holder): Move to be
      	a field of class pass_ipa_pure_const.
      	(node_duplication_hook_holder): Likewise.
      	(node_removal_hook_holder): Likewise.
      	(register_hooks): Convert to method...
      	(pass_ipa_pure_const::register_hooks): ...here, converting
      	static variable init_p into...
      	(pass_ipa_pure_const::init_p): ...new field.
      	(pure_const_generate_summary): Update invocation of
      	register_hooks to invoke as a method of current_pass.
      	(pure_const_read_summary): Likewise.
      	(propagate): Convert to...
      	(pass_ipa_pure_const::execute): ...method.
      	* ipa-reference.c (ipa_init): Move static bool init_p from here
      	to...
      	(ipa_init_p): New file-scope variable, so that it can be reset
      	when repeatedly invoking the compiler within one process by...
      	(ipa_reference_c_finalize): New function.
      	* ipa-reference.h (ipa_reference_c_finalize): New.
      	* main.c (main): Replace invocation of toplev_main with
      	construction of a toplev instance, and call its "main" method.
      	* params.c (global_init_params): Add an assert that
      	params_finished is false.
      	(params_c_finalize): New.
      	* params.h (params_c_finalize): New.
      	* passes.c (execute_ipa_summary_passes): Set "current_pass" before
      	invoking generate_summary, for the benefit of pass_ipa_pure_const.
      	(ipa_write_summaries_2): Assign "pass" to "current_pass" global
      	before calling write_summary hook.
      	(ipa_write_optimization_summaries_1): Likewise when calling
      	write_optimization_summary hook.
      	(ipa_read_summaries_1): Likewise for read_summary hook.
      	(ipa_read_optimization_summaries_1): Likewise for
      	read_optimization_summary hook.
      	(execute_ipa_stmt_fixups): Likewise.
      	* stringpool.c (init_stringpool): Clean up if we're called more
      	than once.
      	* timevar.c (timevar_init): Ignore repeated calls.
      	* toplev.c: Include "dwarf2out.h", "ipa-reference.h", "gcse.h",
      	"ipa-prop.h".
      	(general_init): Reset "input_location" to UNKNOWN_LOCATION.
      	(initialize_rtl): Move static local "initialized_once"
      	into file scope, and rename to...
      	(rtl_initialized): New variable.
      	(do_compile): Move timevar initialization from here to
      	toplev::start_timevars.
      	(toplev::toplev, toplev::~toplev, toplev::start_timevars,
      	toplev::finalize): New functions.
      	(toplev_main): Rename to...
      	(toplev::main): ...this.
      	* toplev.h (class toplev): New class.
      
      From-SVN: r216522
      David Malcolm committed
  7. 02 Jan, 2014 1 commit
  8. 10 Jan, 2013 1 commit
  9. 23 Jun, 2011 1 commit
    • params.c: Include common/common-target.h. · 4c77620d
      	* params.c: Include common/common-target.h.  Don't include tm.h.
      	(lang_independent_params): Move from toplev.c.
      	(global_init_params): New.
      	* params.h (global_init_params): Declare.
      	* target.def (default_params): Move to common-target.def.
      	* toplev.c (lang_independent_options): Remove.
      	(lang_independent_params): Move to params.c.
      	(general_init): Use global_init_params.
      	* common/common-target.def (option_default_params): Move from
      	target.def.
      	* common/config/ia64/ia64-common.c: Include params.h.
      	(ia64_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move
      	from ia64.c.
      	* common/config/rs6000/rs6000-common.c: Include params.h.
      	(rs6000_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move
      	from rs6000.c.
      	* common/config/sh/sh-common.c: Include params.h.
      	(sh_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move
      	from sh.c.
      	* common/config/spu/spu-common.c: Include params.h.
      	(spu_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move
      	from spu.c.
      	* config/ia64/ia64.c (ia64_option_default_params,
      	TARGET_OPTION_DEFAULT_PARAMS): Move to ia64-common.c.
      	* config/rs6000/rs6000.c (rs6000_option_default_params,
      	TARGET_OPTION_DEFAULT_PARAMS): Move to rs6000-common.c.
      	* config/sh/sh.c (sh_option_default_params,
      	TARGET_OPTION_DEFAULT_PARAMS): Move to sh-common.c.
      	* config/spu/spu.c (spu_option_default_params,
      	TARGET_OPTION_DEFAULT_PARAMS): Move to spu-common.c.
      	* Makefile.in (OBJS): Remove params.o.
      	(OBJS-libcommon-target): Add params.o.
      	(params.o, $(common_out_object_file)): Update dependencies.
      	* doc/tm.texi: Regenerate.
      
      From-SVN: r175330
      Joseph Myers committed
  10. 30 Nov, 2010 1 commit
    • diagnostic-core.h: Include bversion.h. · 7c475d11
      	* diagnostic-core.h: Include bversion.h.
      	* toplev.h: Don't include input.h or bversion.h.
      	(parse_optimize_options): Don't declare here.
      	* alias.c, auto-inc-dec.c, c-aux-info.c, c-convert.c, c-parser.c,
      	caller-save.c, cfg.c, cfganal.c, cfgbuild.c, cfgcleanup.c,
      	combine-stack-adj.c, config/arm/pe.c, config/darwin-c.c,
      	config/host-darwin.c, config/i386/host-cygwin.c,
      	config/i386/host-mingw32.c, config/i386/msformat-c.c,
      	config/i386/netware.c, config/i386/nwld.c,
      	config/i386/winnt-cxx.c, config/i386/winnt-stubs.c,
      	config/ia64/ia64-c.c, config/m32c/m32c-pragma.c,
      	config/mep/mep-pragma.c, config/microblaze/microblaze-c.c,
      	config/rs6000/host-darwin.c, config/rs6000/rs6000-c.c,
      	config/score/score3.c, config/score/score7.c,
      	config/sh/symbian-base.c, config/sh/symbian-c.c,
      	config/sh/symbian-cxx.c, config/sol2-c.c, config/sol2.c,
      	config/v850/v850-c.c, config/vxworks.c, convert.c, cppbuiltin.c,
      	cselib.c, dbgcnt.c, ddg.c, dfp.c, dominance.c, emit-rtl.c,
      	fixed-value.c, fwprop.c, ggc-common.c, gimple.c, gimplify.c,
      	graphite-blocking.c, graphite-clast-to-gimple.c,
      	graphite-dependences.c, graphite-flattening.c,
      	graphite-interchange.c, graphite-poly.c,
      	graphite-scop-detection.c, graphite.c, haifa-sched.c,
      	implicit-zee.c, integrate.c, ipa-pure-const.c, ipa-reference.c,
      	ira-build.c, ira-conflicts.c, ira-costs.c, ira-lives.c, jump.c,
      	lists.c, loop-doloop.c, loop-iv.c, lto-cgraph.c, lto-compress.c,
      	lto-opts.c, lto-section-in.c, lto-section-out.c,
      	lto-streamer-out.c, lto-symtab.c, modulo-sched.c, optabs.c,
      	params.c, postreload-gcse.c, postreload.c, predict.c, profile.c,
      	regcprop.c, reginfo.c, regmove.c, reorg.c, resource.c,
      	sched-deps.c, sched-ebb.c, sched-rgn.c, sdbout.c,
      	sel-sched-dump.c, sel-sched-ir.c, sese.c, stmt.c, targhooks.c,
      	tree-cfgcleanup.c, tree-mudflap.c, tree-nomudflap.c,
      	tree-object-size.c, tree-outof-ssa.c, tree-phinodes.c,
      	tree-profile.c, tree-sra.c, tree-ssa-ccp.c, tree-ssa-coalesce.c,
      	tree-ssa-live.c, tree-ssa-loop-prefetch.c, tree-ssa-loop.c,
      	tree-ssa-operands.c, tree-ssa-structalias.c, tree-ssa-uninit.c,
      	tree-vect-patterns.c, value-prof.c, var-tracking.c, web.c: Don't
      	include toplev.h.
      	* Makefile.in (TOPLEV_H): Remove.  All uses changed to use
      	toplev.h.  Dependencies for above files and c-family files changed
      	to remove $(TOPLEV_H) or toplev.h.
      	(C_TREE_H): Don't include $(TOPLEV_H).
      	(DIAGNOSTIC_CORE_H): Use $(INPUT_H) instead of input.h.  Add
      	bversion.h.
      	* config/arm/t-pe, config/arm/t-wince-pe, config/i386/t-cygming,
      	config/ia64/t-ia64, config/mep/t-mep, config/score/t-score-elf,
      	config/t-darwin, config/t-sol2,
      	config/t-vxworks, config/v850/t-v850, config/v850/t-v850e:
      	Dependencies for above files changed to remove $(TOPLEV_H) or
      	toplev.h.
      
      c-family:
      	* c-common.h (parse_optimize_options): Declare.
      	* c-cppbuiltin.c, c-format.c, c-gimplify.c, c-lex.c, c-omp.c,
      	c-pch.c, c-pragma.c, c-semantics.c: Don't include toplev.h.
      
      cp:
      	* cp-gimplify.c, cp-lang.c, cvt.c, cxx-pretty-print.c, error.c,
      	except.c, expr.c, friend.c, init.c, mangle.c, name-lookup.c,
      	optimize.c, parser.c, rtti.c, tree.c, typeck2.c: Don't include
      	toplev.h.
      	* Make-lang.in: Dependencies for above files changed to remove
      	toplev.h.
      
      java:
      	* expr.c, lang.c, mangle.c, mangle_name.c, typeck.c,
      	verify-glue.c: Don't include toplev.h.
      	* Make-lang.in: Dependencies for above files changed to remove
      	toplev.h.
      
      lto:
      	* Make-lang.in (lto/lto-object.o): Depend on toplev.h instead of
      	$(TOPLEV_H).
      
      From-SVN: r167293
      Joseph Myers committed
  11. 14 Oct, 2010 1 commit
    • params.c (params_finished): New. · 48476d13
      	* params.c (params_finished): New.
      	(add_params): Assert !params_finished.
      	(finish_params): New.
      	(set_param_value_internal): Take params and params_set
      	parameters.  Assert params_finished.
      	(set_param_value, maybe_set_param_value): Take params and
      	params_set parameters.  Update calls to set_param_value_internal.
      	(set_default_param_value): Assert !params_finished.  Don't use
      	set_param_value_internal.
      	(default_param_value, init_param_values): New.
      	* params.h (struct param_info): Change value to default_value.
      	Remove set.
      	(set_param_value, maybe_set_param_value): Add params and
      	params_set parameters.
      	(PARAM_VALUE): Get parameters from global_options.
      	(PARAM_SET_P): Remove.
      	(finish_params, default_param_value, init_param_values): New.
      	* common.opt (param_values): New Variable.
      	* config/arm/arm.c (arm_option_override): Pass extra arguments to
      	maybe_set_param_value.
      	* config/i386/i386.c (ix86_option_override_internal): Pass extra
      	arguments to maybe_set_param_value.
      	* config/picochip/picochip.c (picochip_option_override): Pass
      	extra arguments to maybe_set_param_value.
      	* config/rs6000/rs6000.c (rs6000_option_override_internal): Pass
      	extra arguments to maybe_set_param_value.
      	* config/s390/s390.c (s390_option_override): Use
      	maybe_set_param_value instead of set_param_value.  Pass extra
      	arguments to maybe_set_param_value.
      	* config/sparc/sparc.c (sparc_option_override): Pass extra
      	arguments to maybe_set_param_value.
      	* config/spu/spu.c (spu_option_override): Pass extra arguments to
      	maybe_set_param_value.
      	* opts.c (handle_param): Take opts and opts_set parameters.
      	Update call to set_param_value.
      	(initial_min_crossjump_insns,
      	initial_max_fields_for_field_sensitive,
      	initial_loop_invariant_max_bbs_in_loop): Remove.
      	(init_options_once): Don't set them.
      	(init_options_struct): Initialize parameters structures.
      	(default_options_optimization): Use default_param_value when
      	restoring defaults.  Update calls to maybe_set_param_value.
      	(finish_options): Update calls to maybe_set_param_value.
      	(common_handle_option): Update calls to handle_param and
      	set_param_value.
      	* toplev.c (DEFPARAM): Update definition for changes to
      	param_info.
      	(general_init): Call finish_params.
      
      From-SVN: r165460
      Joseph Myers committed
  12. 11 Oct, 2010 1 commit
    • params.c (set_param_value_internal): New. · 128dc8e2
      	* params.c (set_param_value_internal): New.
      	(set_param_value): Use set_param_value_internal.
      	(maybe_set_param_value, set_default_param_value): New.
      	* params.h (PARAM_VALUE, PARAM_SET_P): Make into rvalues.
      	(maybe_set_param_value, set_default_param_value): Declare.
      	* config/arm/arm.c (arm_option_override): Use
      	maybe_set_param_value.
      	* config/i386/i386.c (ix86_option_override_internal): Use
      	maybe_set_param_value.
      	* config/ia64/ia64.c (ia64_option_default_params,
      	TARGET_OPTION_DEFAULT_PARAMS): New.
      	(ia64_option_optimization): Move some code to
      	ia64_option_default_params.
      	* config/picochip/picochip.c (picochip_option_override): Use
      	maybe_set_param_value.
      	* config/rs6000/rs6000.c (rs6000_option_default_params,
      	TARGET_OPTION_DEFAULT_PARAMS): New.
      	(rs6000_option_override_internal): Use maybe_set_param_value.
      	(rs6000_option_optimization): Move some code to
      	rs6000_option_default_params.
      	* config/s390/s390.c (s390_option_override): Use
      	maybe_set_param_value.
      	* config/sh/sh.c (sh_option_default_params,
      	TARGET_OPTION_DEFAULT_PARAMS): New.
      	(sh_option_optimization): Move some code to
      	sh_option_default_params.
      	* config/sparc/sparc.c (sparc_option_override): Use
      	maybe_set_param_value.
      	* config/spu/spu.c (spu_option_default_params,
      	TARGET_OPTION_DEFAULT_PARAMS): New.
      	(spu_option_optimization): Move some code to
      	spu_option_default_params.
      	(spu_option_override): Use maybe_set_param_value.
      	* doc/tm.texi.in (TARGET_OPTION_DEFAULT_PARAMS): New @hook.
      	* doc/tm.texi: Regenerate.
      	* ggc-common.c (init_ggc_heuristics): Use set_default_param_value.
      	* opts.c (init_options_once): Use PARAM_VALUE not direct access to
      	compiler_params.
      	(default_options_optimization): Use maybe_set_param_value.
      	(finish_options): Use maybe_set_param_value.
      	* target.def (target_option.default_params): New hook.
      	* toplev.c (general_init): Call
      	targetm.target_option.default_params.
      
      From-SVN: r165303
      Joseph Myers committed
  13. 08 Jul, 2010 1 commit
    • toplev.h: Do not include diagnostic-core.h. · 718f9c0f
      2010-07-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	* toplev.h: Do not include diagnostic-core.h.
      	Include diagnostic-core.h in every file that includes toplev.h.
      	* c-tree.h: Do not include toplev.h.
      	* pretty-print.h: Update comment.
      	* Makefile.in: Update dependencies.
      	* alias.c: Include diagnostic-core.h in every file that includes
      	toplev.h.
      	* attribs.c: Likewise.
      	* auto-inc-dec.c: Likewise.
      	* bb-reorder.c: Likewise.
      	* bt-load.c: Likewise.
      	* caller-save.c: Likewise.
      	* calls.c: Likewise.
      	* cfg.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgbuild.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfghooks.c: Likewise.
      	* cfgloop.c: Likewise.
      	* combine.c: Likewise.
      	* config/alpha/alpha.c: Likewise.
      	* config/arc/arc.c: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/arm/pe.c: Likewise.
      	* config/avr/avr.c: Likewise.
      	* config/bfin/bfin.c: Likewise.
      	* config/cris/cris.c: Likewise.
      	* config/crx/crx.c: Likewise.
      	* config/darwin-c.c: Likewise.
      	* config/darwin.c: Likewise.
      	* config/fr30/fr30.c: Likewise.
      	* config/frv/frv.c: Likewise.
      	* config/h8300/h8300.c: Likewise.
      	* config/host-darwin.c: Likewise.
      	* config/i386/i386.c: Likewise.
      	* config/i386/netware.c: Likewise.
      	* config/i386/nwld.c: Likewise.
      	* config/i386/winnt-cxx.c: Likewise.
      	* config/i386/winnt-stubs.c: Likewise.
      	* config/i386/winnt.c: Likewise.
      	* config/ia64/ia64-c.c: Likewise.
      	* config/ia64/ia64.c: Likewise.
      	* config/iq2000/iq2000.c: Likewise.
      	* config/lm32/lm32.c: Likewise.
      	* config/m32c/m32c-pragma.c: Likewise.
      	* config/m32c/m32c.c: Likewise.
      	* config/m32r/m32r.c: Likewise.
      	* config/m68hc11/m68hc11.c: Likewise.
      	* config/m68k/m68k.c: Likewise.
      	* config/mcore/mcore.c: Likewise.
      	* config/mep/mep-pragma.c: Likewise.
      	* config/mep/mep.c: Likewise.
      	* config/mmix/mmix.c: Likewise.
      	* config/mn10300/mn10300.c: Likewise.
      	* config/moxie/moxie.c: Likewise.
      	* config/pa/pa.c: Likewise.
      	* config/pdp11/pdp11.c: Likewise.
      	* config/picochip/picochip.c: Likewise.
      	* config/rs6000/rs6000-c.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/rx/rx.c: Likewise.
      	* config/s390/s390.c: Likewise.
      	* config/score/score.c: Likewise.
      	* config/score/score3.c: Likewise.
      	* config/score/score7.c: Likewise.
      	* config/sh/sh.c: Likewise.
      	* config/sh/symbian-base.c: Likewise.
      	* config/sh/symbian-c.c: Likewise.
      	* config/sh/symbian-cxx.c: Likewise.
      	* config/sol2-c.c: Likewise.
      	* config/sol2.c: Likewise.
      	* config/sparc/sparc.c: Likewise.
      	* config/spu/spu.c: Likewise.
      	* config/stormy16/stormy16.c: Likewise.
      	* config/v850/v850-c.c: Likewise.
      	* config/v850/v850.c: Likewise.
      	* config/vax/vax.c: Likewise.
      	* config/vxworks.c: Likewise.
      	* config/xtensa/xtensa.c: Likewise.
      	* convert.c: Likewise.
      	* cse.c: Likewise.
      	* cselib.c: Likewise.
      	* dbgcnt.c: Likewise.
      	* dbxout.c: Likewise.
      	* ddg.c: Likewise.
      	* dominance.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* explow.c: Likewise.
      	* expmed.c: Likewise.
      	* fixed-value.c: Likewise.
      	* fold-const.c: Likewise.
      	* fwprop.c: Likewise.
      	* gcse.c: Likewise.
      	* ggc-common.c: Likewise.
      	* ggc-page.c: Likewise.
      	* ggc-zone.c: Likewise.
      	* gimple-low.c: Likewise.
      	* gimplify.c: Likewise.
      	* graph.c: Likewise.
      	* haifa-sched.c: Likewise.
      	* ifcvt.c: Likewise.
      	* implicit-zee.c: Likewise.
      	* integrate.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-color.c: Likewise.
      	* ira-conflicts.c: Likewise.
      	* ira-costs.c: Likewise.
      	* ira-lives.c: Likewise.
      	* ira.c: Likewise.
      	* lists.c: Likewise.
      	* loop-doloop.c: Likewise.
      	* loop-iv.c: Likewise.
      	* lto-opts.c: Likewise.
      	* lto-symtab.c: Likewise.
      	* main.c: Likewise.
      	* modulo-sched.c: Likewise.
      	* optabs.c: Likewise.
      	* params.c: Likewise.
      	* plugin.c: Likewise.
      	* postreload-gcse.c: Likewise.
      	* postreload.c: Likewise.
      	* predict.c: Likewise.
      	* profile.c: Likewise.
      	* real.c: Likewise.
      	* regcprop.c: Likewise.
      	* reginfo.c: Likewise.
      	* regmove.c: Likewise.
      	* reorg.c: Likewise.
      	* resource.c: Likewise.
      	* rtl.c: Likewise.
      	* rtlanal.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* sdbout.c: Likewise.
      	* sel-sched-dump.c: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* store-motion.c: Likewise.
      	* targhooks.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-dump.c: Likewise.
      	* tree-eh.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-nomudflap.c: Likewise.
      	* tree-object-size.c: Likewise.
      	* tree-optimize.c: Likewise.
      	* tree-outof-ssa.c: Likewise.
      	* tree-phinodes.c: Likewise.
      	* tree-profile.c: Likewise.
      	* tree-ssa-ccp.c: Likewise.
      	* tree-ssa-coalesce.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-loop.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa-uninit.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-vect-data-refs.c: Likewise.
      	* tree-vect-loop-manip.c: Likewise.
      	* tree-vect-loop.c: Likewise.
      	* tree-vect-patterns.c: Likewise.
      	* tree-vect-stmts.c: Likewise.
      	* tree-vrp.c: Likewise.
      	* varasm.c: Likewise.
      	* vec.c: Likewise.
      	* web.c: Likewise.
      	* xcoffout.c: Likewise.
      
      c-family/
      	* c-common.h: Include diagnostic-core.h. Error if already
      	included.
      	* c-semantics.c: Do not define GCC_DIAG_STYLE here.
      cp/
      	* cp-tree.h: Do not include toplev.h.
      	
      java/
      	* boehm.c: Include diagnostic-core.h in every file that includes
      	toplev.h.
      	* class.c: Likewise.
      	* constants.c: Likewise.
      	* decl.c: Likewise.
      	* except.c: Likewise.
      	* expr.c: Likewise.
      	* jcf-parse.c: Likewise.
      	* mangle.c: Likewise.
      	* mangle_name.c: Likewise.
      	* resource.c: Likewise.
      	* typeck.c: Likewise.
      	* verify-glue.c: Likewise.
      ada/
      	* gcc-interface/utils.c: Include diagnostic-core.h in every file
      	that includes toplev.h.
      lto/
      	* lto-coff.c: Include diagnostic-core.h in every file that
      	includes toplev.h.
      	* lto-elf.c: Likewise.
      	* lto-lang.c: Likewise.
      	* lto-macho.c: Likewise.
      
      From-SVN: r161943
      Manuel López-Ibáñez committed
  14. 01 Dec, 2009 1 commit
    • cgraphunit.c (plugin.h): Include. · 090fa0ab
      2009-12-01  Grigori Fursin  <grigori.fursin@inria.fr>
                  Joern Rennecke  <amylaar@spamcop.net>
      
              * cgraphunit.c (plugin.h): Include.
              (ipa_passes): Invoke PLUGIN_ALL_IPA_PASSES_START /
              PLUGIN_ALL_IPA_PASSES_END at start / end of processing.
              * gcc-plugin.h (highlev-plugin-common.h, hashtab.h): Include.
              (enum plugin_event): Define by including plugin.def.
              Last enumerator is now called PLUGIN_EVENT_FIRST_DYNAMIC.
              (plugin_event_name): Change type to const char **.
              (get_event_last, get_named_event_id, unregister_callback): Declare.
              (register_callback): Change type of event argument to int.
              (highlev-plugin-common.h): New file.
              * Makefile.in (GCC_PLUGIN_H): Add highlev-plugin-common.h and
              $(HASHTAB_H)
              (tree-optimize.o passes.o): Depend on $(PLUGIN_H).
              (PLUGIN_HEADERS): Add opts.h, $(PARAMS_H) and plugin.def.
              (s-header-vars): New rule.
              (install-plugin): Depend on s-header-vars.  Install b-header-vars.
              * params.c (get_num_compiler_params): New function.
              * params.h (get_num_compiler_params): Declare.
              * passes.c (plugin.h): Include.
              (make_pass_instance): Invoke PLUGIN_NEW_PASS.
              (do_per_function_toporder, pass_init_dump_file): No longer static.
              (pass_fini_dump_file): Likewise.
              (execute_one_pass): Likewise.  Invoke PLUGIN_OVERRIDE_GATE and
              PLUGIN_PASS_EXECUTION.
              (execute_ipa_pass_list): Invoke PLUGIN_EARLY_GIMPLE_PASSES_START and
              PLUGIN_EARLY_GIMPLE_PASSES_END.
              * plugin.c (plugin_event_name_init): New array, defined by
              including plugin.def.
              (FMT_FOR_PLUGIN_EVENT): Update.
              (plugin_event_name): Change type to const char ** and initialize
              to plugin_event_name_init.
              (event_tab, event_last, event_horizon): New variable.
              (get_event_last): New function.
              (plugin_callbacks_init): New array.
              (plugin_callbacks: Change type to struct callback_info **.
              Initialize to plugin_callbacks_init.
              (htab_event_eq, get_named_event_id, unregister_callback): New function.
              (invoke_plugin_va_callbacks): Likewise.
              (register_callback): Change type of event argument to int.
              Handle new events.  Allow dynamic events.
              (invoke_plugin_callbacks): Likewise.  Return success status.
              (plugins_active_p): Allow dynamic callbacks.
              * plugin.def: New file.
              * plugin.h (invoke_plugin_callbacks): Update prototype.
              (invoke_plugin_va_callbacks): Declare.
              * tree-optimize.c (plugin.h): Include.
              (tree_rest_of_compilation): Invoke PLUGIN_ALL_PASSES_START and
              PLUGIN_ALL_PASSES_END.
              * tree-pass.h (execute_one_pass, pass_init_dump_file): Declare.
              (pass_fini_dump_file, do_per_function_toporder): Likewise.
              * doc/plugin.texi: Document new event types.
      
      Co-Authored-By: Joern Rennecke <amylaar@spamcop.net>
      
      From-SVN: r154877
      Grigori Fursin committed
  15. 20 Feb, 2009 1 commit
  16. 26 Jun, 2008 1 commit
    • driver-i386.c (detect_caches_amd, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. · d3bfe4de
      	* config/i386/driver-i386.c (detect_caches_amd,
      	detect_caches_intel, host_detect_local_cpu): Fix -Wc++-compat
      	and/or -Wcast-qual warnings.
      	*ggc-common.c (ggc_mark_roots, gt_pch_note_object,
      	gt_pch_note_reorder, relocate_ptrs, write_pch_globals,
      	gt_pch_save): Likewise.
      	* ggc-page.c (push_depth, push_by_depth, alloc_anon, alloc_page,
      	gt_ggc_m_S, clear_marks, ggc_pch_read): Likewise.
      	* global.c (compute_regsets): Likewise.
      	* graph.c (print_rtl_graph_with_bb, clean_graph_dump_file,
      	finish_graph_dump_file): Likewise.
      	* haifa-sched.c (schedule_block, extend_h_i_d, extend_ready,
      	unlink_bb_notes): Likewise.
      	* integrate.c (get_hard_reg_initial_val): Likewise.
      	* ipa-prop.c (ipa_push_func_to_list): Likewise.
      	* ipa-struct-reorg.c (gen_var_name, gen_cluster_name): Likewise.
      	* local-alloc.c (update_equiv_regs): Likewise.
      	* loop-invariant.c (check_invariant_table_size,
      	hash_invariant_expr, eq_invariant_expr, find_or_insert_inv):
      	Likewise.
      	* loop-iv.c (check_iv_ref_table_size, analyzed_for_bivness_p,
      	altered_reg_used, mark_altered): Likewise.
      	* loop-unroll.c (si_info_eq, ve_info_eq, allocate_basic_variable,
      	insert_var_expansion_initialization,
      	combine_var_copies_in_loop_exit, apply_opt_in_copies,
      	release_var_copies): Likewise.
      	* matrix-reorg.c (mat_acc_phi_hash, mat_acc_phi_eq, mtt_info_eq,
      	analyze_matrix_decl, add_allocation_site, analyze_transpose,
      	analyze_accesses_for_phi_node, check_var_notmodified_p,
      	check_allocation_function, find_sites_in_func,
      	record_all_accesses_in_func, transform_access_sites,
      	transform_allocation_sites): Likewise.
      	* omp-low.c (new_omp_region, create_omp_child_function_name,
      	check_omp_nesting_restrictions, check_combined_parallel,
      	lower_omp_2, diagnose_sb_1, diagnose_sb_2): Likewise.
      	* optabs.c (no_conflict_move_test, gen_libfunc, gen_fp_libfunc,
      	gen_intv_fp_libfunc, gen_interclass_conv_libfunc,
      	gen_intraclass_conv_libfunc, set_optab_libfunc, set_conv_libfunc):
      	Likewise.
      	* opts-common.c (prune_options): Likewise.
      	* opts.c (add_input_filename, print_filtered_help,
      	get_option_state): Likewise.
      	* params.c (add_params): Likewise.
      	* passes.c (set_pass_for_id, next_pass_1,
      	do_per_function_toporder, pass_fini_dump_file): Likewise.
      	* postreload.c (reload_cse_simplify_operands): Likewise.
      	* predict.c (tree_predicted_by_p, tree_predict_edge,
      	clear_bb_predictions, combine_predictions_for_bb): Likewise.
      
      From-SVN: r137134
      Kaveh R. Ghazi committed
  17. 26 Jul, 2007 1 commit
  18. 12 Nov, 2006 1 commit
    • params.c (set_param_value): Initialize the "set" field. · 47eb5b32
      	* params.c (set_param_value): Initialize the "set" field.
      	* params.h (struct param_info): Add "set" field.
      	(PARAM_SET_P): New macro.
      	(PREFETCH_LATENCY, SIMULTANEOUS_PREFETCHES, L1_CACHE_SIZE,
      	L1_CACHE_LINE_SIZE): New macros.
      	* toplev.c (DEFPARAM): Initialize the "set" field.
      	* tree-ssa-loop-prefetch.c (PREFETCH_LATENCY,
      	SIMULTANEOUS_PREFETCHES): Removed.
      	(PREFETCH_BLOCK): Use L1_CACHE_LINE_SIZE.
      	(tree_ssa_prefetch_arrays): Dump the values of the parameters.
      	* config/sparc/sparc.c: Include params.h.
      	(sparc_override_options): Set SIMULTANEOUS_PREFETCHES and
      	L1_CACHE_LINE_SIZE parameters.
      	* config/sparc/sparc.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
      	Removed.
      	* config/i386/i386.h (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES):
      	Removed.
      	* config/i386/i386.c: Include params.h.
      	(k8_cost): Change default value for SIMULTANEOUS_PREFETCHES.
      	(override_options): Set SIMULTANEOUS_PREFETCHES and
      	L1_CACHE_LINE_SIZE parameters.
      	* config/sh/sh.h (SIMULTANEOUS_PREFETCHES): Removed.
      	(OPTIMIZATION_OPTIONS): Set SIMULTANEOUS_PREFETCHES and
      	L1_CACHE_LINE_SIZE parameters.
      	* config/ia64/ia64.c (ia64_optimization_options): Set
      	SIMULTANEOUS_PREFETCHES and L1_CACHE_LINE_SIZE parameters.
      	* config/ia64/ia64.h (SIMULTANEOUS_PREFETCHES, PREFETCH_BLOCK):
      	Removed.
      	* params.def (PARAM_PREFETCH_LATENCY, PARAM_SIMULTANEOUS_PREFETCHES,
      	PARAM_L1_CACHE_SIZE, PARAM_L1_CACHE_LINE_SIZE): New params.
      	* doc/invoke.texi: Document new params.
      
      From-SVN: r118728
      Zdenek Dvorak committed
  19. 25 Jun, 2005 1 commit
  20. 28 Apr, 2005 1 commit
    • attribs.c, [...]: Update copyright. · fe9565ed
      	* attribs.c, c-pragma.c, caller-save.c, cfghooks.h,
      	coverage.c, cselib.h, domwalk.c, domwalk.h, errors.c,
      	errors.h, gcov-dump.c, gcov-io.c, gcov-io.h, gen-protos.c,
      	genattrtab.h, genextract.c, gthr-win32.h, insn-notes.def,
      	integrate.c, lambda-mat.c, lambda.h, libgcov.c, local-alloc.c,
      	machmode.def, mips-tfile.c, params.c, pretty-print.c,
      	print-rtl.c, protoize.c, regmove.c, sched-vis.c, tree-chrec.h,
      	tree-data-ref.h, vec.h, config/darwin-c.c, config/sol2-c.c,
      	config/sol2.c, config/arm/arm-cores.def, config/arm/cirrus.md,
      	config/arm/symbian.h, config/c4x/c4x.c, config/c4x/c4x.h,
      	config/i386/cygming.h, config/i386/djgpp.h,
      	config/i386/lynx.h, config/i386/netware.c,
      	config/i386/winnt.c, config/ia64/ia64-c.c,
      	config/iq2000/iq2000.c, config/m32r/little.h,
      	config/m68k/m68k-protos.h, config/m68k/m68k.h,
      	config/m68k/m68k.md, config/mcore/mcore.c,
      	config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.md,
      	config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c,
      	config/mn10300/mn10300.h, config/ns32k/netbsd.h,
      	config/ns32k/ns32k.c, config/ns32k/ns32k.h,
      	config/pa/pa-hpux11.h, config/pdp11/pdp11.c,
      	config/pdp11/pdp11.h, config/rs6000/darwin.h,
      	config/rs6000/default64.h, config/rs6000/rs6000-c.c,
      	config/s390/2064.md, config/s390/2084.md,
      	config/s390/s390-modes.def, config/s390/s390-protos.h,
      	config/s390/tpf.h, config/sh/sh.h, config/sh/symbian.c,
      	config/stormy16/stormy16.c, config/vax/vax-protos.h,
      	config/vax/vax.c, config/vax/vax.h,
      	config/xtensa/lib1funcs.asm, config/xtensa/xtensa.md: Update
      	copyright.
      
      From-SVN: r98914
      Kazu Hirata committed
  21. 03 Apr, 2005 1 commit
    • params.c (set_param_value): Use gcc_assert & gcc_unreachable. · e16acfcd
      	* params.c (set_param_value): Use gcc_assert & gcc_unreachable.
      	* passes.c (open_dump_file, rest_of_handle_final): Likewise.
      	* postreload-gcse.c (expr_equiv_p, oprs_unchanged_p,
      	hash_scan_set, reg_set_between_after_reload_p,
      	reg_used_between_after_reload_p, get_avail_load_store_reg,
      	eliminate_partially_redundant_load): Likewise.
      	* postreload.c (reload_cse_simplify_set,
      	reload_combine_note_use): Likewise.
      	* predict.c (predict_insn, expected_value_to_br_prob,
      	propagate_freq, expensive_function_p): Likewise.
      	* print-rtl.c (print_rtx): Likewise.
      	* profile.c (instrument_edges, instrument_values,
      	compute_branch_probabilities, branch_prob, union_groups,
      	tree_register_profile_hooks, rtl_register_profile_hooks): Likewise.
      	* protoize.c (in_system_include_dir, file_could_be_converted,
      	file_normally_convertible, gen_aux_info_file, seek_to_line,
      	do_cleaning): Likewise.
      	* tree-ssa-alias.c (collect_points_to_info_r): Likewise.
      	* tree-ssa-ccp.c (execute_fold_all_builtins): Likewise.
      	* tree-ssa-loop-ivopts.c (produce_memory_decl_rtl): Likewise.
      
      From-SVN: r97485
      Nathan Sidwell committed
  22. 01 Dec, 2004 1 commit
  23. 15 Oct, 2004 1 commit
    • bitmap.c, [...]: Update copyright. · f30278e8
      	* bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h,
      	collect2.h, conflict.c, coretypes.h, coverage.h, errors.h,
      	gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c,
      	genconstants.c, gengenrtl.c, genmodes.c, genpeep.c,
      	gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c,
      	gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c,
      	lists.c, machmode.def, mips-tdump.c, opts.h, params.c,
      	predict.def, predict.h, protoize.c, reload.h, resource.h,
      	rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c,
      	tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c,
      	unwind-sjlj.c, value-prof.h: Update copyright.
      
      From-SVN: r89097
      Kazu Hirata committed
  24. 15 Sep, 2004 1 commit
    • attribs.c, [...]: Use %<, %> and %q for quoting in diagnostics going through pretty-print.c. · 971801ff
      gcc:
      	* attribs.c, builtins.c, c-format.c, c-pch.c, coverage.c,
      	except.c, fold-const.c, function.c, langhooks.c, params.c,
      	reload.c, reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c,
      	tree-dump.c, tree-mudflap.c, tree.c, varasm.c: Use %<, %> and %q
      	for quoting in diagnostics going through pretty-print.c.  Use ''
      	for quoting in other diagnostic text.
      	* langhooks.c: Include intl.h.  Mark text locating diagnostics for
      	translation.
      	* Makefile.in (langhooks.o): Update dependencies.
      	* pretty-print.h (pp_printf): Mark as accepting GCC diagnostic
      	formats.
      
      gcc/testsuite:
      	* g++.dg/ext/member-attr.C, g++.dg/warn/deprecated.C,
      	gcc.dg/deprecated.c, gcc.dg/noreturn-1.c, gcc.dg/noreturn-4.c:
      	Update expected messages.
      
      libmudflap:
      	* testsuite/libmudflap.c/pass35-frag.c: Update expected message.
      
      From-SVN: r87563
      Joseph Myers committed
  25. 10 Sep, 2004 2 commits
    • Revert 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> · 8127d0e0
      	* lambda-mat.c (lambda_matrix_inverse_hard): Use gcc_assert
      	and gcc_unreachable instead of abort.
      	* lambda.h (lambda_vector_min_nz): Likewise.
      	* langhooks.c lhd_set_decl_assembler_name, lhd_can_use_bit_fields_p,
      	lhd_incomplete_type_error, lhd_expand_expr, lhd_types_compatible_p,
      	lhd_gimplify_expr): Likewise.
      	* lcm.c (optimize_mode_switching): Likewise.
      	* local-alloc.c (update_equiv_regs, block_alloc, find_free_reg):
      	Likewise.
      	* loop-doloop.c (doloop_modify): Likewise.
      	* loop-invariant.c (record_use): Likewise.
      	* loop-iv.c (get_biv_step_1, get_biv_step, iv_analyze, get_iv_value,
      	canon_condition, simplify_using_condition,
      	simplify_using_initial_values, shorten_into_mode,
      	canonicalize_iv_subregs, iv_number_of_iterations): Likewise.
      	* loop-unroll.c (unroll_and_peel_loops, peel_loop_completely,
      	unroll_loop_constant_iterations, unroll_loop_runtime_iterations,
      	peel_loop_simple, unroll_loop_stupid): Likewise.
      	* loop-unswitch.c (compare_and_jump_seq, unswitch_single_loop,
      	unswitch_loop): Likewise.
      	* loop.c (gen_prefetch, loop_optimize, rtx_equal_for_loop_p,
      	move_movables, replace_call_address, find_and_verify_loops,
      	rtx_equal_for_prefetch_p, record_giv, general_induction_var,
      	simplify_giv_expr, check_ext_dependent_givs, try_copy_prop,
      	loop_giv_dump): Likewise.
      	* loop.h (INSN_LUID): Likewise.
      	* modulo-sched.c (normalize_sched_times, generate_prolog_epilog,
      	sms_schedule, check_nodes_order): Likewise.
      	* optabs.c (gen_conditional, add_equal_note, expand_simple_binop,
      	expand_twoval_unop, expand_twoval_binop, expand_twoval_binop_libfunc,
      	expand_simple_unop, emit_no_conflict_block, prepare_cmp_insn,
      	emit_cmp_and_jump_insn_1, emit_cmp_and_jump_insns,
      	prepare_float_lib_cmp, gen_add2_insn, have_add2_insn, gen_sub2_insn,
      	have_sub2_insn, expand_float, expand_fix, debug_optab_libfuncs):
      	Likewise.
      	* opts.c (common_handle_option): Likewise.
      	* params.c (set_param_value): Likewise.
      	* passes.c (open_dump_file, rest_of_handle_final): Likewise.
      	* postreload-gcse.c (expr_equiv_p, oprs_unchanged_p,hash_scan_set,
      	reg_set_between_after_reload_p, reg_used_between_after_reload_p,
      	get_avail_load_store_reg, eliminate_partially_redundant_load):
      	Likewise.
      	* postreload.c (reload_cse_simplify_set, reload_combine_note_use):
      	Likewise.
      	* predict.c (tree_predicted_by_p, expected_value_to_br_prob,
      	propagate_freq, expensive_function_p): Likewise.
      	* pretty-print.c (pp_base_format_text)
      	* profile.c (instrument_edges, instrument_values,
      	compute_branch_probabilities, branch_prob, union_groups,
      	end_branch_prob, tree_register_profile_hooks): Likewise.
      
      From-SVN: r87290
      Nathan Sidwell committed
    • lambda-mat.c (lambda_matrix_inverse_hard): Use gcc_assert and gcc_unreachable instead of abort. · 1c43d3ca
      	* lambda-mat.c (lambda_matrix_inverse_hard): Use gcc_assert
      	and gcc_unreachable instead of abort.
      	* lambda.h (lambda_vector_min_nz): Likewise.
      	* langhooks.c lhd_set_decl_assembler_name, lhd_can_use_bit_fields_p,
      	lhd_incomplete_type_error, lhd_expand_expr, lhd_types_compatible_p,
      	lhd_gimplify_expr): Likewise.
      	* lcm.c (optimize_mode_switching): Likewise.
      	* local-alloc.c (update_equiv_regs, block_alloc, find_free_reg):
      	Likewise.
      	* loop-doloop.c (doloop_modify): Likewise.
      	* loop-invariant.c (record_use): Likewise.
      	* loop-iv.c (get_biv_step_1, get_biv_step, iv_analyze, get_iv_value,
      	canon_condition, simplify_using_condition,
      	simplify_using_initial_values, shorten_into_mode,
      	canonicalize_iv_subregs, iv_number_of_iterations): Likewise.
      	* loop-unroll.c (unroll_and_peel_loops, peel_loop_completely,
      	unroll_loop_constant_iterations, unroll_loop_runtime_iterations,
      	peel_loop_simple, unroll_loop_stupid): Likewise.
      	* loop-unswitch.c (compare_and_jump_seq, unswitch_single_loop,
      	unswitch_loop): Likewise.
      	* loop.c (gen_prefetch, loop_optimize, rtx_equal_for_loop_p,
      	move_movables, replace_call_address, find_and_verify_loops,
      	rtx_equal_for_prefetch_p, record_giv, general_induction_var,
      	simplify_giv_expr, check_ext_dependent_givs, try_copy_prop,
      	loop_giv_dump): Likewise.
      	* loop.h (INSN_LUID): Likewise.
      	* modulo-sched.c (normalize_sched_times, generate_prolog_epilog,
      	sms_schedule, check_nodes_order): Likewise.
      	* optabs.c (gen_conditional, add_equal_note, expand_simple_binop,
      	expand_twoval_unop, expand_twoval_binop, expand_twoval_binop_libfunc,
      	expand_simple_unop, emit_no_conflict_block, prepare_cmp_insn,
      	emit_cmp_and_jump_insn_1, emit_cmp_and_jump_insns,
      	prepare_float_lib_cmp, gen_add2_insn, have_add2_insn, gen_sub2_insn,
      	have_sub2_insn, expand_float, expand_fix, debug_optab_libfuncs):
      	Likewise.
      	* opts.c (common_handle_option): Likewise.
      	* params.c (set_param_value): Likewise.
      	* passes.c (open_dump_file, rest_of_handle_final): Likewise.
      	* postreload-gcse.c (expr_equiv_p, oprs_unchanged_p,hash_scan_set,
      	reg_set_between_after_reload_p, reg_used_between_after_reload_p,
      	get_avail_load_store_reg, eliminate_partially_redundant_load):
      	Likewise.
      	* postreload.c (reload_cse_simplify_set, reload_combine_note_use):
      	Likewise.
      	* predict.c (tree_predicted_by_p, expected_value_to_br_prob,
      	propagate_freq, expensive_function_p): Likewise.
      	* pretty-print.c (pp_base_format_text)
      	* profile.c (instrument_edges, instrument_values,
      	compute_branch_probabilities, branch_prob, union_groups,
      	end_branch_prob, tree_register_profile_hooks): Likewise.
      
      From-SVN: r87285
      Giovanni Bajo committed
  26. 19 Jul, 2003 1 commit
    • alias.c [...]: Remove unnecessary casts. · 703ad42b
      	* alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
      	c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
      	c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
      	collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
      	cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
      	cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
      	dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
      	fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
      	gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
      	genemit.c genextract.c genoutput.c genrecog.c gensupport.c
      	ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
      	integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
      	loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
      	postreload.c prefix.c print-tree.c protoize.c ra-build.c
      	ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
      	regmove.c regrename.c reload.c reload1.c reorg.c resource.c
      	sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
      	simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
      	tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
      	varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
      	casts.
      
      From-SVN: r69587
      Kaveh R. Ghazi committed
  27. 01 Jun, 2003 1 commit
    • genrecog.c: Use ISO C90 prototypes. · 3d7aafde
      	* genrecog.c: Use ISO C90 prototypes.
      	(nodes_identical): Correct declaration to match prototype.
      	(maybe_both_true): Likewise.
      	(merge_trees): Likewise.
      
      	* genpeep.c (gen_peephole): Remove #if 0 code.
      	Use ISO C90 prototypes.
      
      	* genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
      	Remove #if 0'ed function simplify_by_alternatives.
      	(optimize_attrs): Remove #if 0'ed code.
      	Remove ^L.
      	Use ISO C90 prototypes.
      	(make_canonical): Remove #if 0'ed code.
      	(convert_const_symbol_ref): Remove #if 0'ed function.
      
      	* gen-protos.c (main): Check for argument.
      
      	* rtl.h: Use ISO C90 prototypes for functions from lists.c.
      
      	* params.h: Use ISO C90 prototypes.
      	* params.c: Likewise.
      	* intl.c: Likewise.
      	* intl.h: Likewise.
      	* lists.c: Likewise.
      	* errors.c: Likewise.
      	* errors.h: Likewise.
      	* gencodes.c: Likewise.
      	* genpreds.c: Likewise.
      	* genattr.c: Likewise.
      	* gen-protos.c: Likewise.
      	* genflags.c: Likewise
      	* genconditions.c: Likewise.
      	* genautomata.c: Likewise.
      	* gencheck.c: Likewise.
      	* genconfig.c: Likewise.
      	* genconstants.c: Likewise.
      	* genemit.c: Likewise.
      	* genextract.c: Likewise.
      	* gengenrtl.c: Likewise.
      	* gengtype.c: Likewise.
      	* gengtype.h: Likewise.
      	* genopinit.c: Likewise.
      	* genoutput.c: Likewise.
      	* gensupport.c: Likewise.
      	* gensupport.h: Likewise.
      
      From-SVN: r67296
      Andreas Jaeger committed
  28. 16 Dec, 2002 1 commit
  29. 20 May, 2002 1 commit
    • params.c: Fix formatting. · 6a4d6760
      	* params.c: Fix formatting.
      	* params.h: Likewise.
      	* predict.c: Likewise.
      	* prefix.c: Likewise.
      	* print-rtl.c: Likewise.
      	* print-tree.c: Likewise.
      	* profile.c: Likewise.
      
      From-SVN: r53670
      Kazu Hirata committed
  30. 22 Aug, 2001 1 commit
    • Makefile.in, [...]: replace "GNU CC" with "GCC". · 1322177d
      	* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
      	bitmap.h, builtin-types.def, builtins.c, builtins.def,
      	c-aux-info.c, c-common.c, c-common.def, c-common.h,
      	c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
      	c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
      	c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
      	caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
      	conditions.h, config.gcc, configure.frag, configure.in,
      	conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
      	cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
      	dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
      	doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
      	dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
      	emit-rtl.c, errors.c, errors.h, except.c, except.h,
      	exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
      	fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
      	function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
      	gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
      	gencheck.c, gencodes.c, genconfig.c, genemit.c,
      	genextract.c, genflags.c, gengenrtl.c, genmultilib,
      	genopinit.c, genoutput.c, genpeep.c, genrecog.c,
      	gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
      	ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
      	graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
      	gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
      	gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
      	hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
      	integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
      	libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
      	machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
      	mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
      	mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
      	params.h, predict.c, predict.def, predict.h, prefix.c,
      	prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
      	read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
      	regclass.c, regmove.c, regrename.c, regs.h, reload.c,
      	reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
      	rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
      	sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
      	sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
      	ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
      	stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
      	tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
      	tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
      	unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
      	unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
      	xcoffout.h: replace "GNU CC" with "GCC".
      
      From-SVN: r45105
      Lars Brinkhoff committed
  31. 14 Feb, 2001 1 commit
    • Makefile.in (toplev.o): Depend on params.h. · c6d9a88c
      	* Makefile.in (toplev.o): Depend on params.h.
      	(intergate.o): Likewise.
      	(params.o): New target.
      	* flags.h (inline_max_insns): Remove.
      	* integrate.c: Include params.h.
      	Use MAX_INLINE_INSNS instead of inline_max_insns.
      	* params.c: New file.
      	* params.h: Likewise.
      	* params.def: Likewise.
      	* toplev.c: Include params.h.
      	(lang_independent_params): New variable.
      	(decode_f_option): Use the param machinery instead of setting
      	max_inline_insns.
      	(independent_decode_option): Handle "--param name=value".
      	(main): Register language-independent parameters.
      
      From-SVN: r39683
      Mark Mitchell committed