Skip to content
Snippets Groups Projects
  1. Jun 25, 2005
  2. Mar 14, 2005
  3. Mar 13, 2005
    • Daniel Jacobowitz's avatar
      ggc-zone.c: Rewritten. · 08cee789
      Daniel Jacobowitz authored
      	* ggc-zone.c: Rewritten.
      
      	* alloc-pool.c (dump_alloc_pool_statistics): Don't print statistics
      	if there are none.
      	* configure.ac: Define GGC_ZONE for --with-gc=zone.
      	* config.in: Regenerated.
      	* configure: Regenerated.
      	* gentype.c (write_types_process_field, write_func_for_structure):
      	Pass new argument to gt_pch_note_object.
      	* ggc-common.c (struct ptr_data): Add TYPE.
      	(gt_pch_note_object): Take TYPE argument and save it.
      	(call_count): Update call to ggc_pch_count_object.
      	(call_alloc): Update call to ggc_pch_alloc_object.
      	(gt_pch_save): Call ggc_pch_prepare_write after paddng the PCH
      	file.
      	* ggc-none.c (rtl_zone, garbage_zone, ggc_alloc_zone_stat): Delete.
      	* ggc-page.c (rtl_zone, tree_zone, garbage_zone)
      	(ggc_alloc_zone_stat): Delete.
      	(ggc_pch_count_object, ggc_pch_alloc_object): Add TYPE argument.
      	* ggc.h (gt_pch_note_object, ggc_pch_count_object)
      	(ggc_pch_alloc_object): Update prototypes.
      	(garbage_zone): Delete.
      	(tree_zone, rtl_zone, ggc_alloc_zone_stat, ggc_alloc_zone): Move to
      	GGC_ZONE conditional.  Update.  Change tree_zone and rtl_zone into
      	pointers.
      	(tree_id_zone): New variable.
      	(ggc_alloc_cleared_zone): Remove unused.
      	(ggc_alloc_zone): Define.
      	(ggc_alloc_rtvec, ggc_alloc_tree): Update to use ggc_alloc_zone.
      	* rtl.c (rtx_alloc_stat, shallow_copy_rtx_stat): Use
      	ggc_alloc_zone_stat.
      	* stringpool.c (gt_pch_n_S): Update call to gt_pch_note_object.
      	* tree.c (copy_node_stat, make_tree_binfo_stat, make_tree_vec_stat)
      	(tree_cons_stat, build1_stat): Update call to ggc_alloc_zone_stat.
      	(make_node_stat): Likewise.  Use tree_id_zone.
      
      From-SVN: r96381
      08cee789
  4. Aug 30, 2004
    • Nathan Sidwell's avatar
      alias.c (mems_in_disjoint_alias_sets_p, [...]): Use gcc_assert and... · 298e6adc
      Nathan Sidwell authored
      alias.c (mems_in_disjoint_alias_sets_p, [...]): Use gcc_assert and gcc_unreachable instead of abort.
      
      	* alias.c (mems_in_disjoint_alias_sets_p, record_alias_subset,
      	record_set, rtx_equal_for_memref_p, init_alias_analysis): Use
      	gcc_assert and gcc_unreachable instead of abort.
      	* alloc-pool.c (abort, fancy_abort): Remove.
      	(create_alloc_pool, free_alloc_pool, pool_alloc, pool_free): Use
      	gcc_assert or gcc_unreachable.
      	* attribs.c (init_attributes, decl_attributes): Likewise.
      	* bb-reorder.c (FREE, find_traces_1_round, copy_bb,
      	mark_bb_for_unlikely_executed_section,
      	add_labels_and_missing_jumps, fix_crossing_conditional_branches,
      	fix_crossing_unconditional_branches):  Likewise.
      	* bitmap.c (bitmap_first_set_bit, bitmap_last_set_bit,
      	bitmap_operation):  Likewise.
      	* bt-load.c (insn_sets_btr_p, augment_live_range,
      	move_btr_def):  Likewise.
      	* builtins.c (c_readstr, expand_builtin_longjmp, apply_args_size,
      	apply_result_size, expand_builtin_apply, expand_builtin_mathfn,
      	expand_builtin_mathfn_2, expand_builtin_mathfn_3,
      	builtin_memcpy_read_str, expand_movstr, expand_builtin_stpcpy,
      	expand_builtin_memcmp, expand_builtin_args_info,
      	std_gimplify_va_arg_expr, expand_builtin_unop,
      	expand_builtin_fputs, expand_builtin_profile_func,
      	expand_builtin_fork_or_exec, fold_builtin_bitop,
      	fold_builtin_classify, fold_builtin_fputs): Likewise.
      
      From-SVN: r86797
      298e6adc
  5. Jan 31, 2004
    • Kazu Hirata's avatar
      alloc-pool.c: Fix comment typos. · a457ee07
      Kazu Hirata authored
      	* alloc-pool.c: Fix comment typos.
      	* builtin-types.def: Likewise.
      	* builtins.def: Likewise.
      	* c-pretty-print.c: Likewise.
      	* df.h: Likewise.
      	* reload1.c: Likewise.
      
      From-SVN: r77043
      a457ee07
    • Kazu Hirata's avatar
      alloc-pool.c, c-lex.c, c-pragma.h, c-semantics.c, cfghooks.c, · 283334f0
      Kazu Hirata authored
      	cfghooks.h, cfglayout.c, cfgloopmanip.c, debug.c, debug.h,
      	flow.c, genextract.c, ggc-common.c, ggc-page.c, ggc.h,
      	ifcvt.c, jump.c, loop-unswitch.c, timevar.c, timevar.def,
      	tree-optimize.c, vmsdbgout.c, config/fp-bit.c,
      	config/alpha/alpha.c, config/alpha/alpha.h,
      	config/alpha/alpha.md, config/alpha/unicosmk.h,
      	config/alpha/vms.h, config/arm/linux-elf.h, config/avr/avr.c,
      	config/c4x/c4x-protos.h, config/c4x/c4x.md,
      	config/d30v/d30v.h, config/frv/frv.md, config/frv/frvbegin.c,
      	config/frv/frvend.c, config/i386/cygming.h,
      	config/i386/djgpp.h, config/i386/emmintrin.h,
      	config/i386/gthr-win32.c, config/i386/i386-interix.h,
      	config/i386/i386-protos.h, config/i386/openbsd.h,
      	config/i386/winnt.c, config/i386/xm-mingw32.h,
      	config/i386/xmmintrin.h, config/ia64/ia64.md,
      	config/iq2000/iq2000.md, config/m32r/m32r.md,
      	config/m68k/m68k.md, config/mcore/mcore-elf.h,
      	config/mcore/mcore.md, config/mips/elf.h, config/mips/elf64.h,
      	config/mips/iris5gas.h, config/mips/iris6.h,
      	config/mips/iris6gas.h, config/mips/linux.h,
      	config/mips/mips.md, config/mips/netbsd.h,
      	config/mips/openbsd.h, config/mips/windiss.h,
      	config/pa/fptr.c, config/rs6000/aix.h,
      	config/rs6000/altivec.h, config/rs6000/darwin.h,
      	config/rs6000/xcoff.h, config/s390/s390-protos.h,
      	config/s390/s390.c, config/s390/s390.h, config/s390/s390.md,
      	config/sh/netbsd-elf.h, config/sh/sh.h, config/sh/vxworks.h,
      	config/sparc/sol2.h: Update copyright.
      
      From-SVN: r77018
      283334f0
  6. Jan 30, 2004
    • Jan Hubicka's avatar
      alloc-pool.c: Include hashtab.h · 1e0f41c9
      Jan Hubicka authored
      	* alloc-pool.c: Include hashtab.h
      	(alloc_pool_descriptor): New structure
      	(alloc_pool_hash): New global variable.
      	(hash_descriptor, eq_descriptor, alloc_pool_descriptor): New.
      	(create_alloc_pool): Update statistics.
      	(free_alloc_pool): Likewise.
      	(pool_alloc): Likewise.
      	(output_info): New structure
      	(print_statistics, dump_alloc_pool_statistics): New function.
      	* alloc-pool.h (alloc_pool_def): Turn name to be constant.
      	(dump_alloc_pool_statistics): Declare.
      	* toplev.c (finalize):  Dump statistics.
      
      From-SVN: r76951
      1e0f41c9
  7. Jan 23, 2004
    • Jan Hubicka's avatar
      alloc-pool.c (align_four): Kill. · 8b07361e
      Jan Hubicka authored
      	* alloc-pool.c (align_four): Kill.
      	(create_alloc_pool): Align size to eight.
      	(free_alloc_pool, free_pool): Invalidate deallocated data.
      
      From-SVN: r76456
      8b07361e
  8. Dec 21, 2003
    • Kazu Hirata's avatar
      alias.c: Fix comment formatting. · 6614fd40
      Kazu Hirata authored
      	* alias.c: Fix comment formatting.
      	* alloc-pool.c: Likewise.
      	* bitmap.c: Likewise.
      	* bitmap.h: Likewise.
      	* bt-load.c: Likewise.
      	* c-common.c: Likewise.
      	* c-common.h: Likewise.
      	* c-decl.c: Likewise.
      	* c-opts.c: Likewise.
      	* c-pretty-print.c: Likewise.
      	* caller-save.c: Likewise.
      	* cfghooks.h: Likewise.
      	* cgraph.c: Likewise.
      	* collect2.c: Likewise.
      	* cppfiles.c: Likewise.
      	* cpplib.h: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* final.c: Likewise.
      	* function.c: Likewise.
      	* gcov.c: Likewise.
      	* gcse.c: Likewise.
      	* genemit.c: Likewise.
      	* ggc.h: Likewise.
      	* haifa-sched.c: Likewise.
      	* ifcvt.c: Likewise.
      	* libgcc2.h: Likewise.
      	* loop.c: Likewise.
      	* predict.h: Likewise.
      	* unwind-libunwind.c: Likewise.
      	* varasm.c: Likewise.
      
      From-SVN: r74907
      6614fd40
  9. Jul 19, 2003
    • Kaveh R. Ghazi's avatar
      alias.c [...]: Remove unnecessary casts. · 703ad42b
      Kaveh R. Ghazi authored
      	* 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
      703ad42b
  10. Jun 29, 2003
    • Kazu Hirata's avatar
      alloc-pool.c: Fix comment formatting. · f9da5064
      Kazu Hirata authored
      	* alloc-pool.c: Fix comment formatting.
      	* bitmap.c: Likewise.
      	* bitmap.h: Likewise.
      	* bt-load.c: Likewise.
      	* builtins.c: Likewise.
      	* caller-save.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* collect2.c: Likewise.
      	* cse.c: Likewise.
      	* df.c: Likewise.
      	* diagnostic.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* expmed.c: Likewise.
      	* final.c: Likewise.
      	* flags.h: Likewise.
      	* fold-const.c: Likewise.
      	* gcc.c: Likewise.
      	* gcov-io.h: Likewise.
      	* gcov.c: Likewise.
      	* genattrtab.c: Likewise.
      	* genautomata.c: Likewise.
      	* libgcov.c: Likewise.
      	* mips-tfile.c: Likewise.
      	* optabs.c: Likewise.
      	* prefix.c: Likewise.
      	* rtlanal.c: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* toplev.c: Likewise.
      	* varasm.c: Likewise.
      	* vmsdbgout.c: Likewise.
      
      From-SVN: r68672
      f9da5064
  11. Jun 17, 2003
    • Kaveh R. Ghazi's avatar
      alloc-pool.c: Don't check HAVE_LONG_DOUBLE. · a54928c9
      Kaveh R. Ghazi authored
      gcc:
      	* alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
      	* fixinc/gnu-regex.c: Don't define `volatile'.
      	* ggc-page.c: Don't check HAVE_LONG_DOUBLE.
      	* ggc-simple.c: Likewise.
      	* system.h: Don't define `volatile'.
      
      	* aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete.
      	* configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't
      	call these macros.
      	* config.in, configure: Regenerated.
      
      include:
      	* ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support.
      
      From-SVN: r68085
      a54928c9
  12. Jun 15, 2003
    • Andreas Jaeger's avatar
      alloc-pool.c: Convert to ISO C90 prototypes. · 4682ae04
      Andreas Jaeger authored
      	* alloc-pool.c: Convert to ISO C90 prototypes.
      	* alloc-pool.h: Likewise.
      	* alias.c: Likewise.
      	* attribs.c: Likewise.
      	* bb-reorder.c: Likewise.
      	* bitmap.h: Likewise.
      	* bitmap.c: Likewise.
      	* builtins.c: Likewise.
      
      	* tree.h: Convert prototypes of attribs.c to ISO C90.
      	* basic-block.h: Convert prototypes of bb-reorder.c to ISO C90.
      	* rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90.
      	* expr.h: Convert prototypes of builtins.c to ISO C90.
      
      From-SVN: r67975
      4682ae04
  13. May 12, 2003
    • Neil Booth's avatar
      * alloc-pool.c (last_id): Put in ENABLE_CHECKING guards. · 517958ba
      Neil Booth authored
      From-SVN: r66739
      517958ba
    • Josef Zlomek's avatar
      alloc-pool.h (ALLOC_POOL_ID_TYPE): New type. · 76abd4c6
      Josef Zlomek authored
      	* alloc-pool.h (ALLOC_POOL_ID_TYPE): New type.
      	(struct alloc_pool_def): New element 'id'.
      	* alloc-pool.c (fancy_abort): Extern function prototype.
      	(abort): Macro which uses fancy_abort.
      	(struct allocation_object_def): New structure.
      	(ALLOCATION_OBJECT_PTR_FROM_USER_PTR): New macro.
      	(USER_PTR_FROM_ALLOCATION_OBJECT_PTR): New macro.
      	(last_id): New variable.
      	(create_alloc_pool): Add the offset of u.data to size of element,
      	increase and use last_id.
      	(free_alloc_pool): Do the checking only when ENABLE_CHECKING.
      	(pool_alloc): Likewise. Set ID for elements.
      	(pool_free): Check whether the PTR was allocated from POOL.
      
      From-SVN: r66711
      76abd4c6
  14. Jan 05, 2003
    • Kaveh R. Ghazi's avatar
      Warning fixes: · c7c50494
      Kaveh R. Ghazi authored
      	* alloc-pool.c: Don't include "libiberty.h".
      	* config/sparc/gmon-sol2.c: Include <fcntl.h>.
      	* convert.c (convert_to_real): Hide unused variable.
      
      java:
      	* lang.c (dump_compound_expr): Prototype.
      
      From-SVN: r60900
      c7c50494
  15. Dec 19, 2002
    • Daniel Berlin's avatar
      Makefile.in (OBJS): Add alloc-pool.o · 7f22efe1
      Daniel Berlin authored
      2002-12-18  Daniel Berlin  <dberlin@dberlin.org>
      
      	* Makefile.in (OBJS): Add alloc-pool.o
      	(alloc-pool.o): New object.
      
      	* alloc-pool.c: New file.
      	* alloc-pool.h: New file.
      
      From-SVN: r60312
      7f22efe1
Loading