This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
A recent patch increased GCC's memory consumption in some cases!
- From: gcctest at suse dot de
- To: jh at suse dot cz, gcc-regression at gcc dot gnu dot org
- Date: Tue, 23 May 2006 19:54:12 +0000
- Subject: A recent patch increased GCC's memory consumption in some cases!
Hi,
I am a friendly script caring about memory consumption in GCC. Please
contact jh@suse.cz if something is going wrong.
Comparing memory consumption on compilation of combine.i, insn-attrtab.i,
and generate-3.4.ii I got:
comparing combine.c compilation at -O0 level:
Peak amount of GGC memory allocated before garbage collecting increased from 9240k to 9503k, overall 2.85%
Peak amount of GGC memory still allocated after garbage collectin increased from 8627k to 8890k, overall 3.05%
Amount of produced GGC garbage decreased from 40440k to 38649k, overall -4.64%
Amount of memory still referenced at the end of compilation increased from 6444k to 6742k, overall 4.62%
Overall memory needed: 24868k -> 25017k
Peak memory use before GGC: 9240k -> 9503k
Peak memory use after GGC: 8627k -> 8890k
Maximum of released memory in single GGC run: 2602k -> 2603k
Garbage: 40440k -> 38649k
Leak: 6444k -> 6742k
Overhead: 6151k -> 5888k
GGC runs: 341 -> 302
comparing combine.c compilation at -O1 level:
Amount of produced GGC garbage increased from 58927k to 59116k, overall 0.32%
Overall memory needed: 26892k -> 26888k
Peak memory use before GGC: 17430k -> 17424k
Peak memory use after GGC: 17251k -> 17245k
Maximum of released memory in single GGC run: 2285k -> 2284k
Garbage: 58927k -> 59116k
Leak: 6869k -> 6863k
Overhead: 7055k -> 7261k
GGC runs: 376
comparing combine.c compilation at -O2 level:
Amount of produced GGC garbage increased from 82952k to 83178k, overall 0.27%
Overall memory needed: 26892k -> 26888k
Peak memory use before GGC: 17434k -> 17428k
Peak memory use after GGC: 17251k -> 17245k
Maximum of released memory in single GGC run: 2385k -> 2387k
Garbage: 82952k -> 83178k
Leak: 6997k -> 6989k
Overhead: 9702k -> 9960k
GGC runs: 443 -> 442
comparing combine.c compilation at -O3 level:
Amount of produced GGC garbage increased from 113661k to 113954k, overall 0.26%
Overall memory needed: 25992k -> 25988k
Peak memory use before GGC: 18584k -> 18578k
Peak memory use after GGC: 17898k -> 17892k
Maximum of released memory in single GGC run: 3520k -> 3516k
Garbage: 113661k -> 113954k
Leak: 7088k -> 7078k
Overhead: 13233k -> 13581k
GGC runs: 494 -> 495
comparing insn-attrtab.c compilation at -O0 level:
Overall memory needed: 82152k -> 82160k
Peak memory use before GGC: 69028k -> 69029k
Peak memory use after GGC: 44783k -> 44784k
Maximum of released memory in single GGC run: 36008k
Garbage: 140149k -> 140138k
Leak: 10117k -> 10119k
Overhead: 20398k -> 20393k
GGC runs: 239
comparing insn-attrtab.c compilation at -O1 level:
Amount of produced GGC garbage increased from 282719k to 284133k, overall 0.50%
Overall memory needed: 105932k -> 105920k
Peak memory use before GGC: 85570k -> 85564k
Peak memory use after GGC: 79522k -> 79517k
Maximum of released memory in single GGC run: 32269k -> 32268k
Garbage: 282719k -> 284133k
Leak: 10061k -> 10055k
Overhead: 33387k -> 34782k
GGC runs: 239
comparing insn-attrtab.c compilation at -O2 level:
Amount of produced GGC garbage increased from 330178k to 332009k, overall 0.55%
Overall memory needed: 109992k -> 111248k
Peak memory use before GGC: 89997k -> 89993k
Peak memory use after GGC: 81924k -> 81920k
Maximum of released memory in single GGC run: 30719k
Garbage: 330178k -> 332009k
Leak: 10048k -> 10041k
Overhead: 40620k -> 42238k
GGC runs: 265
comparing insn-attrtab.c compilation at -O3 level:
Amount of produced GGC garbage increased from 330834k to 332667k, overall 0.55%
Overall memory needed: 110088k -> 109736k
Peak memory use before GGC: 90026k -> 90019k
Peak memory use after GGC: 81952k -> 81946k
Maximum of released memory in single GGC run: 30923k
Garbage: 330834k -> 332667k
Leak: 10052k -> 10046k
Overhead: 40818k -> 42438k
GGC runs: 269
comparing Gerald's testcase PR8361 compilation at -O0 level:
Overall memory needed: 118236k -> 118244k
Peak memory use before GGC: 95000k -> 95013k
Peak memory use after GGC: 94059k -> 94065k
Maximum of released memory in single GGC run: 20205k -> 20358k
Garbage: 218377k -> 218015k
Leak: 49519k -> 49496k
Overhead: 38035k -> 37974k
GGC runs: 362
comparing Gerald's testcase PR8361 compilation at -O1 level:
Amount of produced GGC garbage increased from 463633k to 465628k, overall 0.43%
Overall memory needed: 115836k -> 115820k
Peak memory use before GGC: 97667k -> 97659k
Peak memory use after GGC: 96688k -> 96680k
Maximum of released memory in single GGC run: 18987k
Garbage: 463633k -> 465628k
Leak: 52780k -> 52775k
Overhead: 51537k -> 53412k
GGC runs: 505
comparing Gerald's testcase PR8361 compilation at -O2 level:
Amount of produced GGC garbage increased from 552139k to 554482k, overall 0.42%
Overall memory needed: 115856k -> 115820k
Peak memory use before GGC: 97667k -> 97659k
Peak memory use after GGC: 96687k -> 96680k
Maximum of released memory in single GGC run: 18987k
Garbage: 552139k -> 554482k
Leak: 53676k -> 53671k
Overhead: 60161k -> 62349k
GGC runs: 589 -> 588
comparing Gerald's testcase PR8361 compilation at -O3 level:
Amount of produced GGC garbage increased from 573995k to 576386k, overall 0.42%
Overall memory needed: 117136k -> 117116k
Peak memory use before GGC: 98962k -> 98956k
Peak memory use after GGC: 97982k -> 97976k
Maximum of released memory in single GGC run: 19239k -> 19240k
Garbage: 573995k -> 576386k
Leak: 54035k -> 54031k
Overhead: 61258k -> 63577k
GGC runs: 595
Head of the ChangeLog is:
--- /usr/src/SpecTests/sandbox-britten-memory/x86_64/mem-result/ChangeLog 2006-05-09 09:30:59.000000000 +0000
+++ /usr/src/SpecTests/sandbox-britten-memory/gcc/gcc/ChangeLog 2006-05-23 18:33:18.000000000 +0000
@@ -1,3 +1,847 @@
+2006-05-23 Richard Sandiford <richard@codesourcery.com>
+
+ PR rtl-optimization/27736
+ * combine.c (replaced_rhs_value): New variable.
+ (combine_instructions): Set it.
+ (distribute_notes): When distributing a note in replaced_rhs_insn,
+ check whether the value was used in replaced_rhs_value.
+
+2006-05-23 Andrew MacLeod <amacleod@redhat.com>
+
+ PR c++/26757
+ * tree-ssa-loop-im.c (determine_invariantness_stmt): Use
+ add_referenced_var instead of add_referenced_tmp_var.
+ * tree-complex.c (create_one_component_var): Use add_referenced_var.
+ * tree-ssa-loop-manip.c (create_iv, tree_unroll_loop): Use
+ add_referenced_var.
+ * tree-tailcall.c (adjust_accumulator_values, adjust_return_value,
+ tree_optimize_tail_calls_1): Use add_referenced_var.
+ * tree-ssa-loop-ivopts.c (create_new_iv): Use add_referenced_var.
+ * tree-ssa-alias.c (create_memory_tag, create_global_var, create_sft):
+ Use add_referenced_var.
+ * tree-if-conv.c (ifc_temp_var): Use add_referenced_var.
+ * gimplify.c (force_gimple_operand): Use add_referenced_var.
+ * tree-ssa-phiopt.c (conditional_replacement, abs_replacement):
+ Use add_referenced_var.
+ * tree-dfa.c (struct walk_state): Remove.
+ (find_referenced_vars): Remove walk state and vars_found hash table.
+ (make_rename_temp): Use add_referenced_var.
+ (find_vars_r): Pass less parameters to add_referenced_var.
+ (referenced_var_p): New. Is var in referenced_var hash table.
+ (referenced_var_insert): Assert var isn't already in hash table.
+ (add_referenced_var): Don't need walk_state parameter. Add var if it
+ isn't already in the hash table.
+ (add_referenced_tmp_var): Remove.
+ (find_new_referenced_vars_1): Use add_referenced_var.
+ * tree-ssa-pre.c (create_expression_by_pieces,
+ insert_into_preds_of_block, insert_extra_phis, realify_fake_stores):
+ Use add_referenced_var.
+ * tree-vect-patterns.c (vect_pattern_recog_1): Use add_referenced_var.
+ * lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression,
+ lambda_loopnest_to_gcc_loopnest, perfect_nestify): Use
+ add_referenced_var.
+ * tree-vect-transform.c (vect_create_addr_base_for_vector_ref,
+ vect_create_data_ref_ptr, vect_create_destination_var,
+ vect_init_vector, vect_build_loop_niters,
+ vect_generate_tmps_on_preheader, vect_update_ivs_after_vectorizer,
+ vect_gen_niters_for_prolog_loop, vect_create_cond_for_align_checks):
+ Use add_referenced_var.
+ * tree-outof-ssa.c (create_temp): Use add_referenced_var.
+ * tree-flow.h (add_referenced_tmp_var): Remove prototype
+ (add_referenced_var): Add prototype.
+ * tree-ssa-structalias.c (get_constraint_for,
+ intra_create_variable_infos): Use add_referenced_var.
+
+2006-05-23 Alexandre Oliva <aoliva@redhat.com>
+
+ * simplify-rtx.c (simplify_subreg): Adjust REG_OFFSET for
+ big-endian paradoxical subregs.
+ * var-tracking.c (struct micro_operation_def): Document that,
+ for modify micro operations, insn is the subsequent instruction.
+ (var_reg_delete_and_set, var_mem_delete_and_set): Split into...
+ (var_reg_set, var_mem_set): ... new functions.
+ (add_stores): Record subsequent insn.
+ (compute_bb_dataflow): Use new functions for MO_USE.
+ (emit_notes_in_bb): Use new functions for MO_USE. Emit use
+ notes after the insn, and modify notes before the insn known
+ to be the subsequent one.
+ (vt_initialize): Invert sorting of MO_CLOBBERs and MO_SETs.
+
+2006-05-23 Kazu Hirata <kazu@codesourcery.com>
+
+ PR target/27696
+ * config/i386/i386.c (ix86_expand_builtin): Use
+ gen_sse3_monitor64 for TARGET_64BIT.
+
+2006-05-22 Kenneth Zadeck <zadeck@naturalbridge.com>
+
+ PR rtl-optimization/26375
+ PR rtl-optimization/26855
+ * df-problems (df_ru_bb_local_compute_process_def): Removed update
+ to gen set.
+ (df_ru_bb_local_compute): Reversed statements and removed bogus
+ comment explaining why they should be in wrong order.
+ (df_ru_dump, df_rd_dump): Enhanced debug info.
+ * modulo-sched.c (sms_schedule, tree_opt_pass pass_sms): Enhanced
+ debug info.
+ * ddg.c (add_deps_for_def): Converted use of reaching defs to
+ reaching uses and fixed space problem.
+
+2006-05-23 Jan Hubicka <jh@suse.cz>
+
+ * cgraphunit.c (decide_is_function_needed): Also nested functions
+ and functions declared inline can be optimized out at -O0.
+
+2006-05-22 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * doc/install.texi (Configuration): Remove reference to CrossGCC
+ FAQ which was hijacked.
+ (Building): Ditto.
+
+2006-05-22 Kazu Hirata <kazu@codesourcery.com>
+
+ PR target/27266
+ * config/i386/i386.c (ix86_expand_branch): Jump to simple if
+ ix86_compare_emitted is non-NULL.
+
+2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/27451
+ * stmt.c (expand_asm_operands): Skip asm statement with erroneous
+ clobbers.
+
+2006-05-22 Richard Sandiford <richard@codesourcery.com>
+
+ PR rtl-optimization/25514
+ * combine.c (replaced_rhs_insn): New variable.
+ (combine_instructions): Set replaced_rhs_insn when trying to replace
+ a SET_SRC with a REG_EQUAL note.
+ (distribute_notes): Use replaced_rhs_insn when determining the live
+ range of a REG_DEAD register.
+
+2006-18-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
+ Anatoly Sokolov <aesok@post.ru>
+
+ * config/avr/avr.c (avr_mcu_types): Add support for attiny261,
+ attiny461, attiny861, attiny25, attiny45, attiny85, attiny24,
+ attiny44, attiny84, at90pwm2, at90pwm3, atmega165p, atmega169p,
+ atmega164p, atmega324p, atmega644p, atmega644, atmega329,
+ atmega3290, atmega649, atmega6490, atmega406, atmega640,
+ atmega1280, atmega1281, at90can32, at90can64, at90usb646,
+ at90usb647, at90usb1286 and at90usb1287 devices.
+ * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
+ * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
+
+2006-05-22 Richard Sandiford <richard@codesourcery.com>
+
+ * mklibgcc.in (lib2funcs): Remove _floatdidf from initial assignment.
+
+2006-05-22 Richard Guenther <rguenther@suse.de>
+
+ Revert
+ 2006-01-31 Richard Guenther <rguenther@suse.de>
+ Paolo Bonzini <bonzini@gnu.org>
+
+ * doc/install.texi (--disable-libgcc-math): Document.
+
+2006-05-22 Richard Guenther <rguenther@suse.de>
+
+ Revert
+ 2006-01-31 Richard Guenther <rguenther@suse.de>
+
+ * doc/invoke.texi (-msselibm): Document.
+ * target.h (expand_library_builtin): New target hook.
+ * builtins.c (expand_builtin): Use expand_library_builtin.
+ (default_expand_library_builtin): New function.
+ * gcc.c (LINK_GCC_MATH_SPEC): Define.
+ (LINK_COMMAND_SPEC): Handle %(link_gcc_math).
+ (link_gcc_math_spec): Declare.
+ (static_specs): Add link_gcc_math_spec.
+ * expr.h (default_expand_library_builtin): Declare.
+ * target-def.h (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
+ (TARGET_INITIALIZER): Add TARGET_EXPAND_LIBRARY_BUILTIN.
+ * config/i386/i386.h: Provide LINK_GCC_MATH_SPEC.
+ * config/i386/i386.opt (msselibm): New target option.
+ * config/i386/i386.c (ix86_builtin_function_variants): New array.
+ (ix86_init_sse_abi_builtins): New function.
+ (ix86_expand_library_builtin): Likewise.
+ (TARGET_EXPAND_LIBRARY_BUILTIN): Define.
+ (override_options): Handle error conditions wrt -msselibm.
+ (ix86_builtins): Add function codes for SSE2 ABI builtins.
+ (ix86_init_builtins): Call ix86_init_sse_abi_builtins.
+ * doc/extend.texi (__builtin_sse2_*): Document new target specific
+ builtins.
+
+2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c/27420
+ * c-common.c (self_promoting_args_p): Skip erroneous args.
+
+ PR c/26818
+ * c-decl.c (finish_struct): Skip erroneous fields.
+
+2006-05-22 Nick Clifton <nickc@redhat.com>
+
+ * config/cris/cris.opt (march): Remove VarExists attribute.
+ (max-stackframe=): Likewise.
+
+2006-05-22 Kazu Hirata <kazu@codesourcery.com>
+
+ * doc/rtl.texi: Fix a typo.
+ * see.c: Fix comment typos.
+
+ * tree-ssa-structalias.h (alias_info): Remove num_references.
+
+2006-05-21 Mike Stump <mrs@apple.com>
+
+ * config/darwin-c.c (BAD): Conditionalize on OPT_Wpragmas.
+ (BAD2): Add.
+ (darwin_pragma_options): Use BAD instead.
+ (darwin_pragma_unused): Likewise.
+ (darwin_pragma_ms_struct): Likewise.
+
+2006-05-21 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/rs6000.md (floatsitf2): Remove constraints.
+
+2006-05-21 Kazu Hirata <kazu@codesourcery.com>
+
+ PR rtl-optimization/27671
+ * simplify-rtx.c (simplify_relational_operation_1): Fix
+ simplifications of (eq/ne (xor x y) y) and
+ (eq/ne (xor x y) x).
+
+ PR tree-optimization/26622.
+ * fold-const.c (fold_ternary) <COND_EXPR>: Call fold_convert
+ on arg1.
+
+2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
+
+ * tree-cfg.c: Prune whitespace.
+ (debug_tree_cfg): Point to correct header containing the
+ TDF_* defines.
+
+2006-05-21 Bernhard Fischer <aldot@gcc.gnu.org>
+
+ PR middle-end/25776
+ * cgraphunit.c (verify_cgraph_node): Typo in error message.
+
+2006-05-20 Andrew Pinski <pinskia@physics.uc.edu>
+
+ PR middle-end/25776
+ * cgraphunit.c (cgraph_optimize): Don't run ipa passes if error
+ or sorry count is non zero.
+
+2006-05-20 Andreas Schwab <schwab@suse.de>
+
+ * config/pa/pa-linux.h (STRING_ASM_OP): Prepend and append a tab.
+
+2006-05-19 Daniel Berlin <dberlin@dberlin.org>
+ Kenneth Zadeck <zadeck@naturalbridge.com>
+
+ PR rtl-optimization/26855
+
+ * df-scan.c (mw_reg_pool, mw_link_pool): New allocation pools for
+ multiword refs.
+ (df_scan_alloc): Added code to properly handle multiword hard
+ registers and add all_blocks parameter.
+ (df_scan_free_internal, df_insn_refs_delete, df_ref_record): Added
+ code to properly handle multiword hard registers.
+ (df_rescan_blocks): Added code to remove deleted blocks from
+ bitmap.
+ (df_ref_create_structure, df_ref_record): Added code to properly
+ handle subregs.
+ (df_ref_record_1): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER
+ and set DF_REF_PARTIAL.
+ (df_defs_record): Changed DF_REF_CLOBBER into DF_REF_MUST_CLOBBER.
+ (df_uses_record): Added DF_REF_PARTIAL for subreg.
+ (df_scan_add_problem): Added flags parameter.
+ (df_ref_create_structure): Changed switching structure.
+ (df_bb_refs_record): Fixed case where duplicate artificial refs
+ were created. Changed location of flags.
+ (df_record_entry_block_defs): Added code to make stack pointer
+ live in entry block. Refined cases where frame pointer is needed.
+ Changed location of flags.
+ (df_record_exit_block_uses, df_insn_refs_record): Changed location of flags.
+ (df_set_state): Removed function.
+ (df_grow_reg_info, df_reg_chain_unlink, df_ref_remove,
+ df_insn_create_insn_record, df_insn_refs_delete,
+ df_ref_create_structure): Formatting changes.
+ * df-core.c (df_mvs_dump, df_set_flags, df_clear_flags,
+ df_delete_basic_block): New function.
+ (df_init): Changed location of flags.
+ (df_add_problem): Added flags parameter and the way flags are
+ processed.
+ (df_insn_uid_debug, df_ref_debug, debug_df_defno, debug_df_ref,
+ debug_df_chain): Improved debugging output.
+ (df_insn_debug, df_insn_uid_debug): Added multiword reg support.
+ (df_refs_chain_dump): Removed df parameter.
+ (df_iterative_dataflow): Added consistency check.
+ (df_prune_to_subcfg): Made public.
+ (df_analyze_problem): Added blocks_to_init parameter and made
+ public.
+ (df_ref_record, df_bb_refs_record, df_mark_reg,
+ df_record_exit_block_uses): Whitespace changes.
+ (df_dump): Whitespace changes.
+ * df.h: Some reordering to remove forward references.
+ (df_ref_flags.DF_REF_MW_HARDREG, DF_REF_PARTIAL,
+ DF_REF_MUST_CLOBBER, DF_REF_MAY_CLOBBER): New fields.
+ (df_ref_flags.DF_REF_CLOBBER): Deleted field.
+ (dataflow.flags): New field.
+ (df.flag): Deleted field.
+ (df_alloc_function): Added additional bitmap parameter.
+ (df_dependent_problem_function): New type.
+ (df_problem.changeable_flags): New field.
+ (df_ref_flags.DF_REF_DIES_AFTER_THIS_USE, DF_SCAN_INITIAL,
+ DF_SCAN_GLOBAL, DF_SCAN_POST_ALLOC, df_state): Removed.
+ (df_mw_hardreg): New struct.
+ (DF_INSN_UID_MWS): New macro.
+ (df_refs_chain_dump, df_ref_debug, df_chain_dump): Removed df
+ parameter.
+ (df_add_problem, df_ru_add_problem, df_rd_add_problem,
+ df_lr_add_problem, df_ur_add_problem, df_urec_add_problem,
+ df_ri_add_problem, df_scan_add_problem): Added flags parameter.
+ (df_set_state): Removed function.
+ (df_set_flags, df_clear_flags, df_delete_basic_block) New functions.
+ * df-problems.c (df_chain_dump): Removed df parameter.
+ (df_ru_alloc, df_rd_alloc, df_lr_alloc, df_ur_alloc,
+ df_urec_alloc, df_chain_alloc, df_ri_alloc): Added all blocks
+ parameter.
+ (df_ru_alloc, df_rd_alloc): Now resets all blocks.
+ (df_rd_bb_local_compute_process_def, df_ur_bb_local_compute,
+ df_chain_create_bb, df_create_unused_note, df_ri_bb_compute):
+ Split DF_REF_CLOBBER into DF_REF_MAY_CLOBBER and
+ DF_REF_MUST_CLOBBER cases.
+ (df_ru_bb_local_compute_process_def,
+ df_rd_bb_local_compute_process_def, df_lr_bb_local_compute,
+ df_lr_bb_local_compute, df_ur_bb_local_compute,
+ df_chain_create_bb): Made subreg aware.
+ (df_ru_bb_local_compute, df_rd_bb_local_compute,
+ df_lr_bb_local_compute, df_lr_bb_local_compute,
+ df_chain_create_bb): Cleanup to use proper macros.
+ (df_ur_local_finalize, df_urec_local_finalize): Removed unnecessary
+ code to fixup bitvectors.
+ (df_ri_alloc): Cleared lifetime.
+ (df_ignore_stack_reg, df_kill_notes, df_set_notes_for_mw,
+ df_create_unused_note): New function.
+ (df_ri_bb_compute, df_ri_compute): Added code to create/update
+ REG_DEAD and REG_UNUSED notes as well as register information.
+ (df_ru_dump, df_rd_dump, df_lr_dump, df_ur_dump, df_urec_dump,
+ df_chains_dump): Fixed crash if problem was never run.
+ (df_ru_add_problem, df_rd_add_problem, df_lr_add_problem,
+ df_ur_add_problem, df_urec_add_problem, df_chain_add_problem,
+ df_ri_add_problem): Processes flags in uniform manner.
+ (df_ru_alloc, df_ru_local_compute, df_ru_confluence_n, df_ru_free,
+ df_ru_dump, df_rd_local_compute, df_rd_confluence_n, df_rd_free,
+ df_rd_dump, df_urec_free_bb_info): Formatting changes.
+ (df_ru_free_bb_info, df_ru_bb_local_compute, df_ru_dump,
+ df_rd_free_bb_info, df_rd_bb_local_compute_process_def,
+ df_rd_bb_local_compute, df_rd_dump, df_lr_free_bb_info,
+ df_lr_bb_local_compute, df_lr_local_compute, df_ur_free_bb_info,
+ df_ur_dump, df_urec_free_bb_info, df_urec_dump,
+ df_chain_create_bb, df_ri_bb_compute): Whitespace changes.
+ * modulo-sched.c (sms_schedule): Added flag parameter to calls.
+ * see.c (see_initialize_data): Ditto.
+ * final.c (rest_of_clean_state) Added regstack_completed.
+ * rtl.h (regstack_completed): Ditto.
+ * reg-stack.c (regstack_completed): Ditto.
+
+2006-05-19 Mike Stump <mrs@apple.com>
+
+ * c-tree.h (default_conversion): Remove.
+ * c-common.h (default_conversion): Add.
+
+2006-05-19 Zdenek Dvorak <dvorakz@suse.cz>
+
+ * tree-vrp.c (valid_value_p): New function.
+ (adjust_range_with_scev): Fail if the value of bound is not
+ simple.
+
+2006-05-19 Richard Sandiford <richard@codesourcery.com>
+
+ * config/mips/linux-unwind.h: Include <asm/unistd.h>
+ (mips_fallback_frame_state): Use syscall numbers to determine
+ the appropriate li instruction for the current ABI. Only use
+ __NR_sigreturn for o32.
+
+2006-05-19 Nicolas Setton <setton@adacore.com>
+
+ * langhooks.h (struct lang_hooks): Add dwarf_name language hook.
+ * langhooks.c (lhd_dwarf_name): New function.
+ * langhooks-def.h (lhd_dwarf_name): Declare.
+ (LANG_HOOKS_DWARF_NAME): New macro, defaults to lhd_dwarf_name.
+ * dwarf2out.c (dwarf2_name): Use the dwarf_name language hook.
+ * ada/misc.c (gnat_dwarf_name): New function.
+ (LANG_HOOKS_DWARF_NAME): Define to gnat_dwarf_name.
+
+2006-05-19 Richard Sandiford <richard@codesourcery.com>
+
+ * libgcc2.c (MIN_UNITS_PER_WORD): Move default definition from
+ libgcc2.h.
+ (LIBGCC2_UNITS_PER_WORD): Provide default definition, using old
+ MIN_UNITS_PER_WORD logic from libgcc2.h. Do nothing if
+ LIBGCC2_UNITS_PER_WORD > MIN_UNITS_PER_WORD.
+ * libgcc2.h (MIN_UNITS_PER_WORD): Remove definition from here.
+ Use LIBGCC2_UNITS_PER_WORD rather than MIN_UNITS_PER_WORD to
+ determine the size of Wtype, etc.
+ * mklibgcc.in (LIB2_SIDITI_CONV_FUNCS): New argument.
+ (swfloatfuncs): New variable.
+ (dwfloatfuncs): Likewise.
+ (lib2funcs): Remove floating-point conversion functions from
+ initial assignment. Use LIB2_SIDITI_CONV_FUNCS to determine
+ the set of conversion routines needed. Allow entries to specify
+ an object name, filename and word size. Update users accordingly.
+ * Makefile.in (libgcc.mk): Pass LIB2_SIDITI_CONV_FUNCS.
+ * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Define.
+
+ Revert:
+
+ 2006-02-08 Roger Sayle <roger@eyesopen.com>
+
+ PR target/22209
+ * config/fixtfdi.c: New libgcc source file.
+ * config/fixunstfdi.c: New source file.
+ * config/floatditf.c: New source file.
+ * config/floatunditf.c: New souce file.
+ * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Include the new source
+ files above instead of config/mips/_tilib.c.
+ * config/mips/t-linux64 (LIB2FUNCS_EXTRA): Likewise.
+
+2006-05-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * pa/t-hpux-shlib (SHLIB_LINK): Remove `-lc'.
+ * pa/pa-hpux11.h (LIB_SPEC): Update comment.
+
+2006-05-18 Mike Stump <mrs@apple.com>
+
+ Fix up vla, vm and [*] sematics.
+
+ PR c/18740
+ PR c/7948
+ PR c/25802
+ PR c/27673
+ * c-tree.h (struct c_arg_info): Add had_vla_unspec.
+ (c_vla_unspec_p): Add.
+ (c_vla_type_p): Add.
+ * c-decl.c (struct c_scope): Add had_vla_unspec.
+ (build_array_declarator): Add support for [*].
+ (grokdeclarator): Likewise.
+ (grokparms): Likewise.
+ (get_parm_info): Likewise.
+ * c-objc-common.c (c_vla_unspec_p): Likewise.
+ * c-objc-common.h (LANG_HOOKS_TREE_INLINING_VAR_MOD_TYPE_P): Likewise.
+ * c-parser.c (c_parser_typeof_specifier): Evaluate arguments to
+ typeof when argument is a variably modified type not inside sizeof or alignof.
+ (c_parser_direct_declarator_inner): Propagate errors.
+ (c_parser_sizeof_expression): Add support for [*].
+ (c_parser_parms_declarator): Initialize had_vla_unspec.
+ (c_parser_parms_list_declarator): Likewise.
+ * c-typeck.c (c_vla_type_p): Add.
+ (composite_type): Add support for vla compositing.
+ (comptypes_internal): Add support for vla compatibility.
+ (c_expr_sizeof_expr): Evaluate vla arguments.
+ * tree.c (variably_modified_type_p): Update comment for [*].
+
+2006-05-18 Michael Matz <matz@suse.de>
+
+ PR target/27599
+ * config.host: Make assignments to host_xmake_file cumulative.
+ * config.host (*-darwin*): Test $host, not $target.
+
+2006-05-12 Stuart Hastings <stuart@apple.com>
+
+ * config/i386/i386.opt (-mstackrealign): New flag.
+ * config/i386/i386.c (force_align_arg_pointer): New attribute.
+ (ix86_handle_cconv_attribute): Emit error when
+ force_align_arg_pointer attribute collides with too many regparms.
+ (ix86_function_regparm): Limit regparms when used with
+ force_align_arg_pointer attribute. (ix86_internal_arg_pointer):
+ Support stack-realigning prologue in non-main functions. Emit
+ warning for nested functions under -mstackrealign, emit error for
+ nested functions with force_align_arg_pointer attribute.
+ * doc/extend.texi (force_align_arg_pointer): Document it.
+ * doc/invoke.texi (-mstackrealign): Document it.
+
+2006-05-17 Kazu Hirata <kazu@codesourcery.com>
+
+ PR rtl-optimization/27477
+ * combine.c (try_combine): Don't split a parallel consisting
+ of two sets into two individual sets if both sets reference
+ cc0.
+
+2006-05-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/arm/arm.opt (target_fpe_name): Remove VarExists.
+ * config/rs6000/rs6000.opt (TARGET_NO_FP_IN_TOC): Likewise.
+
+ * doc/options.texi (VarExists): Updated.
+
+2006-05-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * unwind-dw2.c: Add declarations for uw_update_context and
+ uw_frame_state_for.
+ * pa/hpux-unwind.h (pa_fallback_frame_state): When an export stub is
+ detected, advance frame state and context once to skip over stub.
+
+2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
+
+ PR middle-end/20256
+ PR middle-end/26435
+ * tree-loop-linear.c (linear_transform_loops): Don't test perfect_nest_p.
+ Call rewrite_into_loop_closed_ssa only when something changed.
+ * lambda.h (gcc_loopnest_to_lambda_loopnest): Update declaration.
+ * lambda-code.c (can_convert_to_perfect_nest): Declared.
+ (gcc_loopnest_to_lambda_loopnest): Removed need_perfect_nest parameter.
+ Test for perfect_nest_p here. Fix formating.
+ (replace_uses_equiv_to_x_with_y): Fix formating.
+ (stmt_uses_op): Removed.
+ (can_convert_to_perfect_nest): Removed loopivs parameter.
+ Complete the test by checking the scalar dependences.
+ (perfect_nestify): Remove the test for can_convert_to_perfect_nest.
+ Fix formating.
+
+2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ PR bootstrap/22541
+ From Dan Kegel <dank@kegel.com>:
+ * Makefile.in: Strip "dir/../" combinations from SYSTEM_INCLUDE_DIR.
+
+2006-05-17 Eric Botcazou <ebotcazou@adacore.com>
+
+ * tree.c (variably_modified_type_p) <ARRAY_TYPE>: Return true
+ if the element type is variably modified without recursing.
+
+2006-05-17 Sebastian Pop <pop@cri.ensmp.fr>
+
+ PR middle-end/27332
+ * tree-loop-linear.c (try_interchange_loops): Test for
+ no data dependences.
+
+2006-05-17 Zdenek Dvorak <dvorakz@suse.cz>
+
+ PR tree-optimization/27548
+ * tree-scalar-evolution.c (scev_const_prop): Do not prolong life
+ range of ssa names that appear on abnormal edges.
+ * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Export.
+ * tree-flow.h (contains_abnormal_ssa_name_p): Declare.
+
+2005-05-17 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ PR middle-end/27620
+ * expr.c (safe_from_p): Handle CONSTRUCTOR again.
+
+2006-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/27415
+ * tree.h (OMP_PARALLEL_COMBINED): Define.
+ * gimplify.c (struct gimplify_omp_ctx): Add is_combined_parallel field.
+ (new_omp_context): Add is_combined_parallel argument.
+ (gimplify_scan_omp_clauses): Add in_combined_parallel argument, adjust
+ new_omp_context caller.
+ (gimplify_omp_parallel, gimplify_omp_for, gimplify_omp_workshare):
+ Adjust gimplify_scan_omp_clauses callers.
+ (omp_is_private): Issue errors if iteration variable is firstprivate
+ or reduction in the current context.
+ * c-parser.c (c_parser_omp_parallel): Set OMP_PARALLEL_COMBINED
+ on combined parallel workshare constructs.
+
+2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
+ (gcc-options.o): New rule.
+
+ * optc-gen.awk: Protect variables for gcc-options.o with
+ #ifdef GCC_DRIVER/#endif.
+
+2006-05-16 Daniel Berlin <dberlin@dberlin.org>
+
+ Fix PR tree-optimization/27373
+ * tree-ssa-forwprop.c: (forward_propagate_addr_expr_1): Add argument.
+ (forward_propagate_addr_expr): Update call.
+
+2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * doc/options.texi: Move the Negative option.
+
+2006-05-16 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/22303
+ * tree-ssa-ccp.c (fold_const_aggregate_ref): Handle reads
+ from STRING_CSTs.
+ (evaluate_stmt): Fall back to fold_const_aggregate_ref, if
+ ccp_fold did not simplify the statement.
+
+2006-05-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR driver/26885
+ * Makefile.in (GCC_OBJS): New.
+ (OBJS-common): Add opts-common.o.
+ (xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS).
+ (cpp$(exeext)): Likewise.
+ (gcc.o): Also depend on opts.h.
+ (opts-common.o): New.
+
+ * common.opt (gcoff): Add Negative(gdwarf-2).
+ (gdwarf-2): Add Negative(gstabs).
+ (gstabs): Add Negative(gstabs+).
+ (gstabs+): Add Negative(gvms).
+ (gvms): Add Negative(gxcoff).
+ (gxcoff): Add Negative(gxcoff+).
+ (gxcoff+): Add Negative(gcoff).
+ * config/i386/i386.opt (m32): Add Negative(m64).
+ (m64): Add Negative(m32).
+
+ * doc/options.texi: Document the Negative option.
+
+ * gcc.c: Include "opts.h".
+ (main): Call prune_options after expandargv.
+
+ * optc-gen.awk: Generate common declarations for all flag
+ variables in options.c. Output the neg_index field.
+
+ * opts.c (find_opt): Moved to ...
+ * opts-common.c: Here. New file.
+
+ * opts.h (cl_option): Add a neg_index field.
+ (find_opt): New.
+ (prune_options): Likewise.
+
+2006-05-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/27573
+ * omp-low.c (expand_omp_parallel): Don't assert
+ .OMP_DATA_I = &.OMP_DATA_O is the first statement in the block,
+ instead search for it.
+
+ PR c/27499
+ * gimplify.c (gimplify_omp_for): Remove assertion that iteration var
+ is signed.
+
+2006-05-16 Andreas Schwab <schwab@suse.de>
+
+ * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Add missing @end
+ defmac.
+
+2006-05-15 Roger Sayle <roger@eyesopen.com>
+
+ PR target/26600
+ * config/i386/i386.c (legitimate_constant_p) <CONST_DOUBLE>: TImode
+ integer constants other than zero are only legitimate on TARGET_64BIT.
+ <CONST_VECTOR> Only zero vectors are legitimate.
+ (ix86_cannot_force_const_mem): Integral and vector constants can
+ always be put in the constant pool.
+
+2006-05-16 DJ Delorie <dj@redhat.com>
+
+ * crtstuff.c (__dso_handle): Set section from
+ TARGET_LBIGCC_SDATA_SECTION if defined.
+ * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Document.
+ * config/mips/mips.h (TARGET_LIBGCC_SDATA_SECTION): Define.
+
+2006-05-16 Danny Smith <dannysmith@users.sourceforge.net>
+
+ PR target/27599
+ * config.host (i[34567]86-*-mingw*): Append i386/x-mingw32 to
+ host_xmake_file.
+
+2006-05-16 Ben Elliston <bje@au.ibm.com>
+
+ * tree-cfg.c (split_edge_bb_loc): Remove unused variable `src'.
+
+2006-05-15 Per Bothner <per@bothner.com>
+
+ * tree.c: (last_annotated_node): Use sources_locus typedef.
+ This permits bootstrapping with --enable-mapped-location.
+
+2006-05-15 Zdenek Dvorak <dvorakz@suse.cz>
+
+ PR tree-optimization/26830
+ * tree-into-ssa.c (struct ssa_name_info): Add age field.
+ (info_for_ssa_name, current_info_for_ssa_name_age,
+ blocks_to_update): New variables.
+ (get_ssa_name_ann): Use info_for_ssa_name instead of SSA_NAME_AUX.
+ (clear_ssa_name_info, initialize_flags_in_bb,
+ mark_block_for_update): New functions.
+ (mark_def_sites, rewrite_stmt): Assert that blocks_to_update is NULL.
+ (insert_phi_nodes_for, mark_use_interesting, prepare_block_for_update,
+ prepare_def_site_for): Use mark_block_for_update.
+ (mark_def_interesting): Assert that the processed block is marked in
+ blocks_to_update. Do not take blocks argument.
+ (prepare_use_sites_for, prepare_names_to_update): Do not take blocks
+ argument.
+ (rewrite_update_init_block, rewrite_update_stmt): Only process
+ blocks with statements to rewrite.
+ (delete_update_ssa): Do not clear SSA_NAME_AUX.
+ (update_ssa): Initialize and free blocks_to_update. Do not
+ clear flags on statements. Do not use blocks bitmap.
+ * tree.h (SSA_NAME_AUX): Removed.
+ (struct tree_ssa_name): Removed aux field.
+ * print-tree.c (print_node): Do not print SSA_NAME_AUX.
+
+2006-05-15 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/27603
+ * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
+ Do computations in original type.
+
+2006-05-15 Mircea Namolaru <namolaru@il.ibm.com>
+
+ * see.c: Code style changes such as redundant paranthesis,
+ redundant intialization of local variables etc.
+ (see_main): Declared now as static.
+ * doc/invoke.texi: Update that -fsee is not enabled by
+ default at -O3.
+
+2006-05-15 Jakub Jelinek <jakub@redhat.com>
+
+ * omp-low.c (check_omp_nesting_restrictions): New function.
+ (scan_omp_1): Call it.
+
+ PR middle-end/27416
+ * omp-low.c (build_outer_var_ref): If VAR is reference in orphaned
+ construct, return *VAR.
+
+2006-05-14 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ PR rtl-optimization/27406
+ * bt-load.c (migrate_btr_def): Skip the block having abnormal
+ edges.
+
+2006-05-14 Roger Sayle <roger@eyesopen.com>
+
+ PR rtl-optimization/27538
+ * combine.c (expand_compound_operation): Call gen_lowpart
+ before calling simplify_shift_const.
+
+2006-05-14 Roger Sayle <roger@eyesopen.com>
+
+ PR rtl-optimization/22563
+ * expmed.c (store_fixed_bit_field): When using AND and IOR to store
+ a fixed width bitfield, always force the intermediates into psuedos.
+
+2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
+
+ PR 27501
+ * mkconfig.sh: Use operator = instead of == for test.
+
+2006-05-13 Nick Clifton <nickc@redhat.com>
+
+ * dwarf2out.c (dbx_reg_number): Check return value from
+ LEAF_REG_REMAP and only use it if it is valid.
+ (multiple_reg_loc_descriptor): Likewise.
+
+2006-05-13 Richard Guenther <rguenther@suse.de>
+
+ * config.host <i[34567]86-*-cygwin*>: Append i386/x-cygwin to
+ host_xmake_file.
+
+2006-05-13 Steven Bosscher <stevenb.gcc@gmail.com>
+
+ * df-core.c (df_bb_regno_last_use_find): Do not look for dataflow
+ information attached to non-INSNs such as NOTEs.
+ (df_bb_regno_first_def_find, df_bb_regno_last_def_find): Likewise.
+
+2006-05-12 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * config/s390/s390.c (s390_const_ok_for_constraint_p): Disallow -4G for
+ On contraint.
+ * config/s390/s390.md: Adjust comment describing On constraint.
+
+2006-05-11 Jan Hubicka <jh@suse.cz>
+
+ * cgraphunit.c (decide_is_function_needed): Don't force always_inline
+ to be output at -O0.
+
+2006-05-11 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR middle-end/27384
+ * fold-const.c (size_binop): Move sanity check for arguments to
+ the beginning of the function.
+
+ PR middle-end/27488
+ * fold-const.c (tree_expr_nonnegative_p): Return early on invalid
+ expression.
+
+2006-05-11 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/27529
+ * fold-const.c (fold_unary): Handle intermediate conversion
+ to a pointer type like intermediate conversion to an integer
+ type in folding of (T1)(T2)var to var.
+ Match the code to the comment in the final conversion for
+ (T1)(T2)var to (T1)var regarding to type precision. Rather
+ than disallow T1 being of pointer type, assert that both T1
+ and var are of pointer type or not. Make sure not to fall
+ over the frontends lazyness wrt array to pointer decay though.
+
+2006-05-10 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm.c (arm_struct_value_rtx): Delete.
+ (TARGET_STRUCT_VALUE_RTX): Use the default definition.
+ (arm_init_cumulative_args): Always initialize nregs to zero.
+
+2006-05-10 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/27532
+ * tree-object-size.c (plus_expr_object_size): Fix typo.
+
+2006-05-10 Kazu Hirata <kazu@codesourcery.com>
+
+ PR target/24949
+ * config/m68k/m68k.md (ashrdi_const32, ashrdi_const32_mem,
+ ashrdi_const, ashrdi3): Use a scratch register.
+
+2006-05-10 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/27302
+ * fold-const.c (operand_equal_p): For two comparisons,
+ try comparison of one comparison code swapped if that yields
+ the same code.
+
+2006-05-10 Ben Elliston <bje@au.ibm.com>
+
+ * tree-pretty-print.c (pretty_print_string): No need to handle
+ '\0' as a special character.
+
+ * tree.h: Include "hashtab.h".
+ (iterative_hash_expr): Use hashval_t in its prototype.
+ * Makefile.in (TREE_H): Add $(HASHTAB_H).
+
+2006-05-09 Steve Ellcey <sje@cup.hp.com>
+
+ PR bootstrap/26872
+ * config.gcc (hppa[12]*-*-hpux10*): Set gas to yes.
+ (hppa*64*-*-hpux11*): Ditto.
+ (hppa[12]*-*-hpux11*): Ditto.
+
+2006-05-09 David Edelsohn <edelsohn@gnu.org>
+
+ PR target/26545
+ * config/rs6000/aix41.h (TARGET_64BIT): Define.
+
+2006-05-09 Michael Matz <matz@suse.de>
+
+ * config.host (<i[34567]86-*-*, x86_64-*-*>): Set
+ host_extra_gcc_objs and host_xmake_file.
+ (<*-*-linux*>): Don't overwrite host_xmake_file.
+ * gcc.c (static_spec_functions): Add EXTRA_SPEC_FUNCTIONS.
+ * config/i386/i386.h (EXTRA_SPEC_FUNCTIONS): Define.
+ (host_detect_local_cpu): Declare.
+ (CC1_CPU_SPEC): Add -march=native and -mtune=native cases.
+ * config/i386/i386.c (override_options): Handle -mtune=native
+ as -mtune=generic.
+ * config/i386/x-i386: New file.
+ * config/i386/driver-i386.c: New file.
+ * doc/invoke.texi (<i386 and x86-64 Options>): Describe
+ cpu-type "native".
+
+2006-05-09 Dirk Mueller <dmueller@suse.de>
+ Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/27498
+ * fold-const.c (fold_read_from_constant_string): Relax check
+ for matching types to matching modes.
+
2006-05-09 Zdenek Dvorak <dvorakz@suse.cz>
PR rtl-optimization/27335
@@ -18,7 +862,7 @@
2006-05-08 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/27093
- * tree-ssa-alias.c (recalculate_used_alone): Mark variables for
+ * tree-ssa-alias.c (recalculate_used_alone): Mark variables for
renaming when they become not-used_alone.
2006-05-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
@@ -91,7 +935,7 @@
2006-05-07 Mircea Namolaru <namolaru@il.ibm.com>
- * opts.c (flag_see): remove its setting at -O3.
+ * opts.c (flag_see): remove its setting at -O3.
2006-05-07 Richard Earnshaw <rearnsha@arm.com>
@@ -109,7 +953,7 @@
2006-04-29 Anatoly Sokolov <aesok@post.ru>
- * config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name
+ * config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name
for atmeg a645 device.
2006-05-06 Richard Guenther <rguenther@suse.de>
@@ -188,37 +1032,37 @@
2006-05-04 Leehod Baruch <leehod@il.ibm.com>
- * see.c: New file.
- * Makefile.in (OBJS-common): Add see.o.
- (see.o): Add dependencies.
- * common.opt (fsee): New flag for the see optimization was added.
- * opts.c (flag_see): Initialized.
- * passes.c (init_optimization_passes, pass_see): New pass.
- * rtl.h (see_main): Declaration as extern.
- * timevar.def (TV_SEE): New.
- * tree-pass.h (pass_see): Declaration as extern.
- * invoke.texi (-fsee): Document.
- * recog.c (validate_simplify_insn): New function.
- * recog.h (validate_simplify_insn): Declaration as extern.
- * df-problems.c (df_chain_dump): Check for NULL.
+ * see.c: New file.
+ * Makefile.in (OBJS-common): Add see.o.
+ (see.o): Add dependencies.
+ * common.opt (fsee): New flag for the see optimization was added.
+ * opts.c (flag_see): Initialized.
+ * passes.c (init_optimization_passes, pass_see): New pass.
+ * rtl.h (see_main): Declaration as extern.
+ * timevar.def (TV_SEE): New.
+ * tree-pass.h (pass_see): Declaration as extern.
+ * invoke.texi (-fsee): Document.
+ * recog.c (validate_simplify_insn): New function.
+ * recog.h (validate_simplify_insn): Declaration as extern.
+ * df-problems.c (df_chain_dump): Check for NULL.
2006-05-04 Kenneth Zadeck <zadeck@naturalbridge.com>
- Daniel Berlin <dberlin@dberlin.org>
+ Daniel Berlin <dberlin@dberlin.org>
- * cfgrtl.c (insert_insn_bb_end_new): New function.
- * basic-block.h (insert_insn_bb_end_new): Declaration as extern.
+ * cfgrtl.c (insert_insn_bb_end_new): New function.
+ * basic-block.h (insert_insn_bb_end_new): Declaration as extern.
2006-05-04 Leehod Baruch <leehod.baruch@weizmann.ac.il>
- * df.h (struct web_entry): Moved from web.c.
- (union_defs): Declaration as extern.
- (unionfind_root): Likewise.
- (unionfind_union): Likewise.
- * web.c (struct web_entry): Moved to df.h.
- (unionfind_root): Remove static declaration.
- (unionfind_union): Likewise.
- (union_defs): Likewise and generalize to use callback function.
- (web_main): Update arguments for union_defs function call.
+ * df.h (struct web_entry): Moved from web.c.
+ (union_defs): Declaration as extern.
+ (unionfind_root): Likewise.
+ (unionfind_union): Likewise.
+ * web.c (struct web_entry): Moved to df.h.
+ (unionfind_root): Remove static declaration.
+ (unionfind_union): Likewise.
+ (union_defs): Likewise and generalize to use callback function.
+ (web_main): Update arguments for union_defs function call.
2006-05-04 Richard Guenther <rguenther@suse.de>
@@ -303,7 +1147,7 @@
Joshua Kinard <kumba@gentoo.org>
PR target/25871
- * gcc/config/mips/mips.h (TRAMPOLINE_TEMPLATE): Avoid 32-bit moves
+ * config/mips/mips.h (TRAMPOLINE_TEMPLATE): Avoid 32-bit moves
with 64-bit pointers.
2006-05-02 Paul Brook <paul@codesourcery.com>
@@ -591,7 +1435,7 @@
2006-04-26 Aldy Hernandez <aldyh@redhat.com>
- * tree-ssa-dse.c (dse_optimize_stmt): Remove unused variable USE.
+ * tree-ssa-dse.c (dse_optimize_stmt): Remove unused variable USE.
2006-04-26 Jakub Jelinek <jakub@redhat.com>
@@ -1026,7 +1870,7 @@
2006-04-18 Paolo Bonzini <bonzini@gnu.org>
- PR target/27117
+ PR target/27117
Partial revert of revision 112637
2006-04-03 Paolo Bonzini <bonzini@gnu.org>
@@ -1039,9 +1883,9 @@
2006-04-18 Paolo Bonzini <bonzini@gnu.org>
- PR tree-optimization/26821
- * tree-ssa-math-opts.c (get_constant_one): New.
- (insert_reciprocals): Use it.
+ PR tree-optimization/26821
+ * tree-ssa-math-opts.c (get_constant_one): New.
+ (insert_reciprocals): Use it.
2006-04-17 Geoffrey Keating <geoffk@apple.com>
@@ -1186,7 +2030,7 @@
reg_equiv_memory_loc_varray.
2006-04-14 Alexey Starovoytov <alexey.starovoytov@sun.com>
- Eric Botcazou <ebotcazou@libertysurf.fr>
+ Eric Botcazou <ebotcazou@libertysurf.fr>
* config/sparc/sparc.c (emit_and_preserve): Allocate space for the
register save area.
@@ -1336,12 +2180,12 @@
2006-04-12 J"orn Rennecke <joern.rennecke@st.com>
PR target/27060
- * config/sh/lib1funcs.h: New file, broken out of:
- * config/sh/lib1funcs.asm.
- * config/sh/lib1funcs.h (DR00, DR01, DR20, DR21, DR40, DR41):
+ * config/sh/lib1funcs.h: New file, broken out of:
+ * config/sh/lib1funcs.asm.
+ * config/sh/lib1funcs.h (DR00, DR01, DR20, DR21, DR40, DR41):
New macros.
The results can be reproduced by building a compiler with
--enable-gather-detailed-mem-stats targetting x86-64
and compiling preprocessed combine.c or testcase from PR8632 with:
-fmem-report --param=ggc-min-heapsize=1024 --param=ggc-min-expand=1 -Ox -Q
The memory consumption summary appears in the dump after detailed listing
of the places they are allocated in. Peak memory consumption is actually
computed by looking for maximal value in {GC XXXX -> YYYY} report.
Your testing script.