1. 17 Apr, 2009 1 commit
    • df.h: Include "timevar.h". · 7072a650
      	* df.h: Include "timevar.h".
      	(struct df_problem): Change tv_id field to timevar_id_t.
      	* tree-pass.h: Include "timevar.h".
      	(struct opt_pass): Change tv_id field to timevar_id_t.
      	* timevar.h (timevar_id_t): Define TV_NONE.
      	* passes.c (execute_one_ipa_transform_pass): Check for tv_id !=
      	TV_NONE rather than tv_id != 0.
      	(execute_one_pass): Likewise.
      	* Makefile.in (DF_H): Add $(TIMEVAR_H).
      	(TREE_PASS_H): Define.  Change all instances of tree-pass.h in
      	dependencies to $(TREE_PASS_H).
      	* bt-load.c (pass_branch_target_load_optimize1): Set tv_id field
      	to TV_NONE.
      	(pass_branch_target_load_optimize2): Likewise.
      	* cfglayout.c (pass_into_cfg_layout_mode): Likewise.
      	(pass_outof_cfg_layout_mode): Likewise.
      	* cgraphbuild.c (pass_remove_cgraph_callee_edges): Likewise.
      	(pass_rebuild_cgraph_edges): Likewise.
      	(pass_remove_cgraph_callee_edges): Likewise.
      	* df-core.c (pass_df_initialize_opt): Likewise.
      	(pass_df_initialize_no_opt): Likewise.
      	(pass_df_finish): Likewise.
      	* emit-rtl.c (pass_unshare_all_rtl): Likewise.
      	* except.c (pass_set_nothrow_function_flags): Likewise.
      	(pass_convert_to_eh_region_ranges): Likewise.
      	* final.c (pass_compute_alignments): Likewise.
      	* function.c (pass_instantiate_virtual_regs): Likewise.
      	(pass_init_function): Likewise.
      	(pass_leaf_regs): Likewise.
      	(pass_match_asm_constraints): Likewise.
      	* gimple-low.c (pass_lower_cf): Likewise.
      	(pass_mark_used_blocks): Likewise.
      	* init-regs.c (pass_initialize_regs): Likewise.
      	* integrate.c (pass_initial_value_sets): Likewise.
      	* ira.c (pass_ira): Likewise.
      	* jump.c (pass_cleanup_barriers): Likewise.
      	* omp-low.c (pass_expand_omp): Likewise.
      	(pass_lower_omp): Likewise.
      	* matrix-reorg.c (pass_ipa_matrix_reorg): Likewise.
      	* recog.c (pass_split_all_insns): Likewise.
      	(pass_split_after_reload): Likewise.
      	(pass_split_before_regstack): Likewise.
      	(pass_split_before_sched2): Likewise.
      	(pass_split_for_shorten_branches): Likewise.
      	* reginfo.c (pass_reginfo_init): Likewise.
      	(pass_subregs_of_mode_init): Likewise.
      	(pass_subregs_of_mode_finish): Likewise.
      	* passes.c (pass_postreload): Likewise.
      	* stack-ptr-mod.c (pass_stack_ptr_mod): Likewise.
      	* tree-cfg.c (pass_remove_useless_stmts): Likewise.
      	(pass_warn_function_return): Likewise.
      	(pass_warn_function_noreturn): Likewise.
      	* tree-complex.c (pass_lower_complex): Likewise.
      	(pass_lower_complex_O0): Likewise.
      	* tree-if-conv.c (pass_if_conversion): Likewise.
      	* tree-into-ssa.c (pass_build_ssa): Likewise.
      	* tree-mudflap.c (pass_mudflap_1): Likewise.
      	(pass_mudflap_2): Likewise.
      	* tree-nomudflap.c (pass_mudflap_1): Likewise.
      	(pass_mudflap_2): Likewise.
      	* tree-nrv.c (pass_return_slot): Likewise.
      	* tree-object-size.c (pass_object_sizes): Likewise.
      	* tree-optimize.c (pass_all_optimizations): Likewise.
      	(pass_early_local_passes): Likewise.
      	(pass_all_early_optimizations): Likewise.
      	(pass_cleanup_cfg): Likewise.
      	(pass_cleanup_cfg_post_optimizing): Likewise.
      	(pass_free_datastructures): Likewise.
      	(pass_free_cfg_annotations): Likewise.
      	(pass_fixup_cfg): Likewise.
      	(pass_init_datastructures): Likewise.
      	* tree-ssa.c (pass_early_warn_uninitialized): Likewise.
      	(pass_late_warn_uninitialized): Likewise.
      	(pass_update_address_taken): Likewise.
      	* tree-ssa-ccp.c (pass_fold_builtins): Likewise.
      	* tree-ssa-math-opts.c (pass_cse_reciprocals): Likewise.
      	(pass_cse_sincos): Likewise.
      	(pass_convert_to_rsqrt): Likewise.
      	* tree-ssa-structalias.c (pass_build_alias): Likewise.
      	* tree-stdarg.c (pass_stdarg): Likewise.
      	* tree-tailcall.c (pass_tail_recursion): Likewise.
      	(pass_tail_calls): Likewise.
      	* tree-vect-generic.c (pass_lower_vector): Likewise.
      	(pass_lower_vector_ssa): Likewise.
      	* tree-vectorizer.c (pass_ipa_increase_alignment): Likewise.
      
      From-SVN: r146222
      Ian Lance Taylor committed
  2. 26 Jul, 2007 1 commit
  3. 25 Jun, 2005 1 commit
  4. 27 May, 2005 1 commit
    • c-pch.c, [...]: Update copyright. · 3a674ab9
      	* c-pch.c, timevar.c, timevar.h, unwind-compat.c,
      	unwind-dw2-fde-compat.c, unwind-dw2-fde.c, config/mmix/mmix.h,
      	config/rs6000/eabispe.h, config/rs6000/lynx.h,
      	config/sh/elf.h, config/sh/symbian-pre.h,
      	config/sparc/sparc-protos.h: Update copyright.
      
      From-SVN: r100234
      Kazu Hirata committed
  5. 17 May, 2005 1 commit
    • ggc-page.c (ggc_alloc_stat): Record amount of memory allocated. · 8d18c628
      	* ggc-page.c (ggc_alloc_stat): Record amount of memory allocated.
      	* ggc-zone.c (ggc_alloc_zone_1): Ditto.
      	* timevar.c (timevar_ggc_mem_total): New variable.
      	(GGC_MEM_BOUND): New constant.
      	(get_time): Record ggc memory status.
      	(timevar_accumulate): Accumulate amount of ggc memory.
      	(timevar_print): Print consumption of ggc memory.
      	* timevar.def (TV_FIND_REFERENCED_VARS, TV_TREE_REDPHI,
      	TV_TREE_LOOP_BOUNDS, TV_TREE_LOOP_IVCANON, TV_TREE_VECTORIZATION,
      	TV_TREE_LINEAR_TRANSFORM): Shorten strings to fit in 22 characters.
      	* timevar.h (struct timevar_time_def): Add ggc_mem field.
      	(timevar_ggc_mem_total): Declare.
      
      From-SVN: r99848
      Zdenek Dvorak committed
  6. 04 Nov, 2004 1 commit
    • timevar.c (timevar_enable): Change from static. · 89106ed5
      2004-11-03  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * timevar.c (timevar_enable): Change from
              static.
              (timevar_push): Rename to ...
              (timevar_push_1): this and remove the
              enabled check.
              (timevar_pop): Rename to ...
              (timevar_pop_1): this and remove the
              enabled check.
              * timevar.h (POP_TIMEVAR_AND_RETURN): Use do/while loops.
              (timevar_pop): New macro.
              (timevar_push): New macro.
              (timevar_enable): Declare.
      
      From-SVN: r90050
      Andrew Pinski committed
  7. 03 Nov, 2004 1 commit
  8. 02 Nov, 2004 1 commit
  9. 06 Jul, 2003 1 commit
    • sbitmap.c: Convert prototypes to ISO C90. · 46c5ad27
      	* sbitmap.c: Convert prototypes to ISO C90.
      	* sbitmap.h: Likewise.
      	* scan-decls.c: Likewise.
      	* scan.c: Likewise.
      	* sched-deps.c: Likewise.
      	* sched-ebb.c: Likewise.
      	* sched-int.h: Likewise.
      	* sched-rgn.c: Likewise.
      	* sched-vis.c: Likewise.
      	* sibcall.c: Likewise.
      	* simplify-rtx.c: Likewise.
      	* sreal.c: Likewise.
      	* sreal.h: Likewise.
      	* ssa-ccp.c: Likewise.
      	* ssa-dce.c: Likewise.
      	* ssa.c: Likewise.
      	* ssa.h: Likewise.
      	* stack.h: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* stringpool.c: Likewise.
      	* target.h: Likewise.
      	* timevar.c: Likewise.
      	* timevar.h: Likewise.
      	* tlink.c: Likewise.
      	* tracer.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-inline.h: Likewise.
      	* tree.c: Likewise.
      	* tree.h: Likewise.
      
      From-SVN: r69002
      Andreas Jaeger committed
  10. 16 Jun, 2003 1 commit
  11. 26 Apr, 2003 1 commit
    • flags.h (time_report): Remove. · 09b04f2d
      	* flags.h (time_report): Remove.
      	* timevar.c (timevar_enable): New.
      	(TIMEVAR_ENABLE): Remove, use timevar_enable.
      	(timevar_init): Rename from init_timevar.
      	* timevar.h (timevar_init): Rename from init_timevar.
      	* toplev.c (time_report): Make static.
      	(do_compile): Conditionally call init_timevar first.
      	(preprocess_options): Move some code to do_compile.
      
      From-SVN: r66110
      Neil Booth committed
  12. 13 Feb, 2003 1 commit
    • timevar.h (POP_TIMEVAR_AND_RETURN): New macro. · 22ffcc6f
      	* timevar.h (POP_TIMEVAR_AND_RETURN): New macro.
      cp/
      	* decl.c: Include "timevar.h".
      	(poplevel): Time name lookup.
      	(find_binding): Likewise.
      	(push_namespace): Likewise.
      	(pop_nested_namespace): Likewise.
      	(store_bindings): Likewise.
      	(maybe_push_to_top_level): Likewise.
      	(pop_from_top_level): Likewise.
      	(push_local_name): Likewise.
      	(pushtag): Likewise.
      	(pushdecl): Likewise.
      	(pushdecl_with_scope): Likewise.
      	(pushdecl_namespace_level): Likewise.
      	(pushdecl_top_level): Likewise.
      	(pushdecl_class_level): Likewise.
      	(push_class_level_binding): Likewise.
      	(push_using_decl): Likewise.
      	(push_using_directive): Likewise.
      	(push_overloaded_decl): Likewise.
      	(lookup_label): Likewise.
      	(define_label): Likewise.
      	(lookup_tag): Likewise.
      	(lookup_tag_reverse): Likewise.
      	(lookup_namespace_name): Likewise.
      	(select_decl): Likewise.
      	(unqualified_namespace_lookup): Likewise.
      	(lookup_name_real): Likewise.
      	(lookup_name_current_level): Likewise.
      	(lookup_type_current_level): Likewise.
      	(maybe_inject_for_scope_var): Likewise.
      	(xref_tag): Likewise.
      
      	* Make-lang.in (cp/decl.o): Add dependency on timevar.h
      
      From-SVN: r62819
      Gabriel Dos Reis committed
  13. 16 Dec, 2002 1 commit
  14. 31 May, 2002 1 commit
    • target.h: Fix formatting. · 41077ce4
      	* target.h: Fix formatting.
      	* timevar.h: Likewise.
      	* tlink.c: Likewise.
      	* toplev.c: Likewise.
      	* toplev.h: Likewise.
      	* tree.c: Likewise.
      	* tree-dump.h: Likewise.
      	* tree.h: Likewise.
      	* tree-inline.h: Likewise.
      	* unroll.c: Likewise.
      	* unwind-dw2.c: Likewise.
      	* unwind-dw2-fde.c: Likewise.
      	* unwind-dw2-fde-glibc.c: Likewise.
      	* unwind-dw2-fde.h: Likewise.
      	* unwind.h: Likewise.
      	* unwind-sjlj.c: Likewise.
      	* varasm.c: Likewise.
      	* varray.h: Likewise.
      	* vmsdbg.h: Likewise.
      	* vmsdbgout.c: Likewise.
      	* xcoffout.h: Likewise.
      
      From-SVN: r54123
      Kazu Hirata committed
  15. 29 Oct, 2001 1 commit
  16. 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
  17. 18 Aug, 2001 1 commit
  18. 17 Aug, 2001 1 commit
    • final.c (shorten_branches): Clear the end of the label_align array only if we made it larger. · d9b6874b
      	* final.c (shorten_branches): Clear the end of the label_align
      	array only if we made it larger.  Break up messy expressions
      	for clarity.
      
      	* diagnostic.c (internal_error): Check for error recursion
      	before doing ICE suppression.
      
      	* timevar.c: Timing variables now count in milliseconds.
      	(init_timevar): Set up ticks_to_msec and clocks_to_msec here.
      	(get_time): Not here.
      	(timevar_print): Don't print any timer whose user, cpu, and
      	wall times are all zero as displayed.
      	* timevar.h: Update comment aboout units.  Make timevar
      	counters unsigned.
      
      From-SVN: r44948
      Zack Weinberg committed
  19. 26 May, 2001 1 commit
  20. 07 Sep, 2000 1 commit
    • Integrated preprocessor. · 0e5921e8
      top level:
      	* Makefile.in: Remove all references to c-parse.gperf,
      	c-gperf.h, and c-parse.h.  Remove -d from yacc command line
      	generating c-parse.c.  Update dependencies.
      	* c-parse.gperf, c-gperf.h: Delete.
      
      	* c-common.c: Don't define parse_options, cpp_token, yy_cur,
      	yy_lim, or yy_get_token.  Don't define get_directive_line if
      	USE_CPPLIB.
      	* c-common.h: Add multiple include guard.  Define RID values
      	for every keyword in C, C++, and Objective C.  Put all the
      	modifiers first.
      	(struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
      	* c-decl.c (c_decode_option): Handle -lang-objc here.
      	(print_lang_identifier): Handle C_IS_RESERVED_WORD case.
      	(grokdeclarator): Adjust for new RID scheme.
      	(extract_interface_info): New stub.
      	* c-lang.c: Don't declare yy_cur or parse_options.
      	(lang_init_options): Call cpp_init.  Don't call
      	cpp_options_init.
      	(lang_init): Don't call check_newline if USE_CPPLIB.
      
      	* c-lex.c: Don't include c-parse.h.  Do include timevar.h.
      	Elide lots of unnecessary code if USE_CPPLIB.  Delete code
      	rendered unnecessary by new architecture.  Move routines not
      	shared with C++ to c-parse.in.  Maintain a local idea of the
      	line number.    Handle C++ as well as C.
      	[USE_CPPLIB]: Declare and register callbacks for #ident and
      	for entering/leaving files.
      	(init_c_lex, c_lex): Are now the entry points to this file.
      	(check_newline): Break out directive handling to
      	process_directive.
      	(read_ucs, is_extended_char, utf8_extend_token): Moved here
      	from C++ front end.
      	(readescape, parse_float): Overhaul.
      	(lex_number, lex_string, lex_charconst): Break out of c_lex
      	(n'ee yylex).
      	(get_fileinfo, update_header_times, dump_one_header,
      	dump_time_statistics): New and/or moved here from C++.
      	Support per-file data needed by C++ and per-header timing
      	statistics (C++ only, at the moment).
      	* c-lex.h: Update prototypes.  Add multiple include guard.
      	* c-tree.h (struct lang_identifier): Add rid_code field.
      	(C_IS_RESERVED_WORD, C_RID_CODE): New.
      
      	* c-parse.in: Include c-pragma.h. Remove unnecesary calls to
      	reinit_parse_for_function and/or position_after_white_space.
      	(save_filename, save_lineno): Look ahead before saving.
      	(label -> identifier ':'): Save file and line before shifting ':'.
      	(reservedwords): No need to call get_identifier.
      	(init_parse, finish_parse, yyerror, yylex, yyprint,
      	make_pointer_declarator): Are now here for C/ObjC.
      	(rid_to_yy): Conversion table from RID constants to Yacc codes.
      
      	* c-pragma.c: Rewrite parsing logic to fit with cpplib's
      	#pragma registry.  Provide dummy implementation of that
      	interface if !USE_CPPLIB.
      	* c-pragma.h: Update to match.
      
      	* flags.h: Add multiple include guard.
      	(flag_detailed_statistics): Moved here from C++.
      	* toplev.c: Define flag_detailed_statistics.
      
      	* gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
      	#if USE_CPPLIB.
      	* timevar.def (TV_CPP, TV_LEX): New.
      	* timevar.h: Add multiple include guard.
      
      	* objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
      	#if USE_CPPLIB.
      	* objc/objc-act.c: Don't mention yy_cur or parse_options.
      	Initialize cpplib properly.  Force lineno to 0 after first
      	call to check_newline.  Don't handle -lang-objc here.
      	Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
      
      cp:
      	* Make-lang.in, Makefile.in: Remove all references to input.c,
      	gxx.gperf, and hash.h.  Add ../c-lex.o to C_OBJS.
      	* gxx.gperf, hash.h, input.c: Delete.
      	* lang-specs.h: Pass -lang-c++ to cc1plus so cpplib is
      	initialized properly.
      
      	* class.c (fixup_pending_inline): Take a tree, not a
      	struct pending_inline *.  All callers changed.
      	(init_class_processing): Set RID_PUBLIC, RID_PRIVATE,
      	RID_PROTECTED entries in ridpointers[] array here.
      	* decl.c (duplicate_decls): Do not refer to struct
      	pending_inline.
      	(record_builtin_type, init_decl_processing): Use RID_MAX not
      	CP_RID_MAX.
      	(grokdeclarator): Use C_IS_RESERVED_WORD.
      	* decl2.c (lang_decode_option): Ignore -lang-c++ for sake of
      	cpplib.
      	(grok_x_components): Do not inspect pending_inlines chain.
      
      	* cp-tree.h (struct lang_identifier): Add rid_code entry.
      	(C_IS_RESERVED_WORD, C_RID_CODE, C_RID_YYCODE): New.
      	(flag_no_gnu_keywords, flag_operator_names, rid_to_yy): Declare.
      	(DEFARG_LENGTH, struct pending_inline, TIME_IDENTIFIER_TIME,
      	TIME_IDENTIFIER_FILEINFO): Kill.
      	Update prototypes.
      	* lex.h: Expunge cp_rid.  Rewrite RIDBIT macros to use just a
      	single 32-bit word.
      	* parse.y: Call do_pending_inlines unconditionally.
      	reinit_parse_for_method is now snarf_method.  fn.defpen is no
      	longer necessary.  Remove unnecessary <itype> annotation on
      	SCOPE.  Do not refer to end_of_file or struct pending_inline.
      	* semantics.c (begin_inline_definitions): Call
      	do_pending_inlines unconditionally.
      
      	* lex.c: Remove all code now shared with C front end.
      	Initialize cpplib properly if USE_CPPLIB.  Put reserved words
      	into the get_identifier table.  Rewrite pragma handling to
      	work with the registry.  Move code to save tokens for later
      	processing to spew.c.
      
      	* spew.c: Rewrite everything in terms of token streams instead
      	of text.  Move routines here from lex.c / input.c as
      	appropriate.  GC-mark trees hanging off the pending inlines
      	chain.
      
      testsuite:
      	* g++.old-deja/g++.benjamin/13478.C: Put meaningful tags on
      	ERROR markers.
      	* g++.old-deja/g++.brendan/crash8.C: Move ERROR marker up one line.
      	* gcc.dg/c99-array-nonobj-1.c: Don't expect func[] cases to fail.
      	* gcc.dg/wtr-label-1.c: Don't use unconstrained .* in error regexps.
      	* gcc.dg/wtr-suffix-1.c: Correct error regexps.
      	* gcc.dg/cpp/unc1.c, gcc.dg/cpp/unc2.c, gcc.dg/cpp/unc3.c:
      	Preprocess only.
      	* gcc.dg/cpp/unc4.c: Adjust line number in dg-error line.
      	* gcc.dg/noncompile/const-ll-1.c: Generalize error regexp.
      
      From-SVN: r36216
      Zack Weinberg committed
  21. 28 Apr, 2000 1 commit
    • Makefile.in (OBJS): Add timevar.o. · 2a9a326b
      hangeLog:
      
      	* Makefile.in (OBJS): Add timevar.o.
      	(toplev.o): Depend on timevar.h.
      	(ggc-simple.o): Likewise.
      	(ggc-page.o): Likewise.
      	(timevar.o): New rule.
      	(timevar.h): New rule.
      
      	* timevar.h: New file.
      	* timevar.c: Likewise.
      	* timevar.def: Likewise.
      
      	* toplev.h (gc_time, parse_time, varconst_time): Remove.
      	* toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
      	throughout.
      	(TIMEVAR): Remove macro.
      	(gc_time, parse_time, varconst_time, integration_time, jump_time,
      	cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
      	flow_time, combine_time, regmove_time, sched_time,
      	local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
      	sched2_time, dbr_sched_time, reorder_blocks_time,
      	rename_registers_time, shorten_branch_time, stack_reg_time,
      	to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
      	all_time): Remove.
      	(compile_file): Don't initialize time variables.  Call
      	init_timevar and start TV_TOTAL timer.  Call timevar_print instead
      	of many calls to print_time.
      	(rest_of_compilation): Add timing for reload_cse_regs.
      	(get_run_time): Removed to timevar.c.
      	(print_time): Likewise.
      	(get_run_time): Implement using TV_TOTAL time variable.
      	(print_time): Get total run time from get_run_time.
      	* ggc-page.c (ggc_collect): Push and pop TV_GC instead of
      	computing elapsed time explicitly.
      	* ggc-simple.c (ggc_collect): Likewise.
      	(gc_time): Remove declaration.
      
      
      cp/ChangeLog:
      
      	* lex.c (my_get_run_time): Remove.
      	(init_filename_times): Use get_run_time instead of my_get_run_time.
      	(check_newline): Likewise.
      	(dump_time_statistics): Likewise.
      	* decl2.c (finish_file): Push and pop timevar TV_VARCONST instead
      	of computing elapsed time explicitly.
      
      From-SVN: r33496
      Alex Samuel committed