From 336866c8c601b00f5b001bf4d94b92685d1b6324 Mon Sep 17 00:00:00 2001 From: dnovillo Date: Tue, 11 Dec 2012 14:34:04 +0000 Subject: Remove all the files ChangeLog.google-4_7, ChangeLog.google-integration and ChangeLog.google-main. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google/gcc-4_7@194400 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog.google-4_7 | 1712 ---------------------------- gcc/ChangeLog.google-integration | 216 ---- gcc/ChangeLog.google-main | 1665 --------------------------- gcc/c-family/ChangeLog.google-4_7 | 38 - gcc/c-family/ChangeLog.google-main | 82 -- gcc/cp/ChangeLog.google-4_7 | 75 -- gcc/cp/ChangeLog.google-main | 195 ---- gcc/fortran/ChangeLog.google-integration | 3 - gcc/java/ChangeLog.google-main | 4 - gcc/lto/ChangeLog.google-4_7 | 6 - gcc/testsuite/ChangeLog.google-4_7 | 185 --- gcc/testsuite/ChangeLog.google-integration | 104 -- gcc/testsuite/ChangeLog.google-main | 371 ------ 13 files changed, 4656 deletions(-) delete mode 100644 gcc/ChangeLog.google-4_7 delete mode 100644 gcc/ChangeLog.google-integration delete mode 100644 gcc/ChangeLog.google-main delete mode 100644 gcc/c-family/ChangeLog.google-4_7 delete mode 100644 gcc/c-family/ChangeLog.google-main delete mode 100644 gcc/cp/ChangeLog.google-4_7 delete mode 100644 gcc/cp/ChangeLog.google-main delete mode 100644 gcc/fortran/ChangeLog.google-integration delete mode 100644 gcc/java/ChangeLog.google-main delete mode 100644 gcc/lto/ChangeLog.google-4_7 delete mode 100644 gcc/testsuite/ChangeLog.google-4_7 delete mode 100644 gcc/testsuite/ChangeLog.google-integration delete mode 100644 gcc/testsuite/ChangeLog.google-main (limited to 'gcc') diff --git a/gcc/ChangeLog.google-4_7 b/gcc/ChangeLog.google-4_7 deleted file mode 100644 index c60377a715a..00000000000 --- a/gcc/ChangeLog.google-4_7 +++ /dev/null @@ -1,1712 +0,0 @@ -2010-12-01 Xinliang David Li - - Backport r194038 from trunk - - * config/i386/i386.c: Allow sign extend instructions (cltd etc) - on modern CPUs. - -2012-12-01 Dehao Chen - - * cgraphbuild.c (build_cgraph_edges): Handle AutoFDO profile. - (rebuild_cgraph_edges): Likewise. - * cgraph.c (cgraph_clone_node): Likewise. - (clone_function_name): Likewise. - * cgraph.h (cgraph_node): New field. - * tree-pass.h (pass_ipa_auto_profile): New pass. - * cfghooks.c (make_forwarder_block): Handle AutoFDO profile. - * ipa-inline-transform.c (clone_inlined_nodes): Likewise. - * toplev.c (compile_file): Likewise. - (process_options): Likewise. - * debug.h (auto_profile_debug_hooks): New. - * cgraphunit.c (cgraph_finalize_compilation_unit): Handle AutoFDO - profile. - (cgraph_copy_node_for_versioning): Likewise. - * regs.h (REG_FREQ_FROM_BB): Likewise. - * gcov-io.h: (GCOV_TAG_AFDO_FILE_NAMES): New. - (GCOV_TAG_AFDO_FUNCTION): New. - (GCOV_TAG_AFDO_MODULE_GROUPING): New. - * ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Handle AutoFDO profile. - * ipa-inline.c (edge_hot_enough_p): Likewise. - (edge_badness): Likewise. - (inline_small_functions): Likewise. - * dwarf2out.c (auto_profile_debug_hooks): New. - * opts.c (common_handle_option): Handle AutoFDO profile. - * timevar.def (TV_IPA_AUTOFDO): New. - * predict.c (compute_function_frequency): Handle AutoFDO profile. - (rebuild_frequencies): Handle AutoFDO profile. - * auto-profile.c (struct gcov_callsite_pos): New. - (struct gcov_callsite): New. - (struct gcov_stack): New. - (struct gcov_function): New. - (struct afdo_bfd_name): New. - (struct afdo_module): New. - (afdo_get_filename): New. - (afdo_get_original_name_size): New. - (afdo_get_bfd_name): New. - (afdo_read_bfd_names): New. - (afdo_stack_hash): New. - (afdo_stack_eq): New. - (afdo_function_hash): New. - (afdo_function_eq): New. - (afdo_bfd_name_hash): New. - (afdo_bfd_name_eq): New. - (afdo_bfd_name_del): New. - (afdo_module_hash): New. - (afdo_module_eq): New. - (afdo_module_num_strings): New. - (afdo_add_module): New. - (read_aux_modules): New. - (get_inline_stack_size_by_stmt): New. - (get_inline_stack_size_by_edge): New. - (get_function_name_from_block): New. - (get_inline_stack_by_stmt): New. - (get_inline_stack_by_edge): New. - (afdo_get_function_count): New. - (afdo_set_current_function_count): New. - (afdo_add_bfd_name_mapping): New. - (afdo_add_copy_scale): New. - (get_stack_count): New. - (get_stmt_count): New. - (afdo_get_callsite_count): New. - (afdo_get_bb_count): New. - (afdo_annotate_cfg): New. - (read_profile): New. - (process_auto_profile): New. - (init_auto_profile): New. - (end_auto_profile): New. - (afdo_find_equiv_class): New. - (afdo_propagate_single_edge): New. - (afdo_propagate_multi_edge): New. - (afdo_propagate_circuit): New. - (afdo_propagate): New. - (afdo_calculate_branch_prob): New. - (auto_profile): New. - (gate_auto_profile_ipa): New. - (struct simple_ipa_opt_pass): New. - * auto-profile.h (init_auto_profile): New. - (end_auto_profile): New. - (process_auto_profile): New. - (afdo_set_current_function_count): New. - (afdo_add_bfd_name_mapping): New. - (afdo_add_copy_scale): New. - (afdo_calculate_branch_prob): New. - (afdo_get_callsite_count): New. - (afdo_get_bb_count): New. - * profile.c (compute_branch_probabilities): Handle AutoFDO profile. - (branch_prob): Likeise. - * loop-unroll.c (decide_unroll_runtime_iterations): Likewise. - * coverage.c (coverage_init): Likewise. - * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. - * common.opt (fauto-profile): New. - * tree-inline.c (copy_bb): Handle AutoFDO profile. - (copy_edges_for_bb): Likewise. - (copy_cfg_body): Likewise. - * tree-profile.c (direct_call_profiling): Likewise. - (gate_tree_profile_ipa): Likewise. - * basic-block.h (EDGE_ANNOTATED): New field. - (BB_ANNOTATED): New field. - * tree-cfg.c (gimple_merge_blocks): Handle AutoFDO profile. - * passes.c (init_optimization_passes): Handle AutoFDO profile. - -2012-11-27 Dehao Chen - - Backport 193857 from trunk: - - 2012-11-27 Dehao Chen - - * ipa-prop.c (ipa_modify_call_arguments): Set loc correctly. - * cfglayout.c (last_location): Remove unused variable. - -2012-11-27 Dehao Chen - - Backport 193852 from trunk: - - 2012-11-27 Dehao Chen - - * cfgrtl.c (rtl_merge_blocks): Check with UNKNOWN_LOCATION - correctly. - (cfg_layout_merge_blocks): Likewise. - -2012-11-26 Easwaran Raman - - Backport 193554 from trunk: - - 2012-11-16 Jakub Jelinek - - * config/i386/i386.md (movcc): Use comparison_operator - instead of ordered_comparison_operator resp. - ix86_fp_comparison_operator predicates. - * config/i386/i386.c (ix86_expand_fp_movcc): Reject TImode - or for -m32 DImode comparisons. - -2012-11-26 Diego Novillo - - Backport from gcc-4_7-branch r193816. - - 2012-11-26 Richard Biener - - Backport from mainline - 2012-10-19 Richard Biener - - PR tree-optimization/54976 - * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): - Robustify against odd inner_mode inputs. - - 2012-10-12 Richard Biener - - PR tree-optimization/54894 - * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): - Handle over-aligned scalar types properly. - - 2012-10-02 Richard Guenther - - PR middle-end/54735 - * tree-ssa-pre.c (do_pre): Make sure to update - virtual SSA form before cleaning up the CFG. - -2012-11-26 Diego Novillo - - * gimplify.c: Work around for PR 55245. - -2012-11-09 Harshit Chopra - - Backport 193381 from google/main. - - * gcc/c-family/c-common.c (handle_always_patch_for_instrumentation_attribute): - Handle always_patch_for_instrumentation attribute and turn inlining off for - the function. - (handle_never_patch_for_instrumentation_attribute): Handle - never_patch_for_instrumentation attribute of a function. - * gcc/config/i386/i386.c (has_attribute): Checks the presence of an - attribute. - (check_should_patch_current_function): Takes into account - always_patch_for_instrumentation or never_patch_for_instrumentation attribute - when deciding that a function should be patched. - * gcc/testsuite/gcc.target/i386/patch-functions-force-no-patching.c (int main): - Test case to test for never_patch_for_instrumentation attribute. - * gcc/testsuite/gcc.target/i386/patch-functions-force-patching.c: Test - case to test for always_patch_for_instrumentation attribute. - -2012-11-05 Dehao Chen - - Backport 193169, 193137 and 193053 from trunk: - - * tree-eh.c (do_return_redirection): Set location for jump statement. - (do_goto_redirection): Likewise. - (frob_into_branch_around): Likewise. - (lower_try_finally_nofallthru): Likewise. - (lower_try_finally_copy): Likewise. - (lower_try_finally_switch): Likewise. - * expr.c (store_expr): Use current insn location instead of expr - location. - (expand_expr_real): Likewise. - (expand_expr_real_1): Likewise. - * cfglayout.c (reemit_insn_block_notes): Do not change scope if insn - location is UNKNOWN_LOCATION. - -2012-11-01 Easwaran Raman - - Backport 191302 and 192651 from trunk: - - 2012-09-14 Eric Botcazou - - PR rtl-optimization/44194 - * calls.c (expand_call): In the PARALLEL case, copy the return value - into pseudos instead of spilling it onto the stack. - * emit-rtl.c (adjust_address_1): Rename ADJUST into ADJUST_ADDRESS and - add new ADJUST_OBJECT parameter. - If ADJUST_OBJECT is set, drop the underlying object if it cannot be - proved that the adjusted memory access is still within its bounds. - (adjust_automodify_address_1): Adjust call to adjust_address_1. - (widen_memory_access): Likewise. - * expmed.c (store_bit_field_1): Call adjust_bitfield_address instead - of adjust_address. Do not drop the underlying object of a MEM. - (store_fixed_bit_field): Likewise. - (extract_bit_field_1): Likewise. Fix oversight in recursion. - (extract_fixed_bit_field): Likewise. - * expr.h (adjust_address_1): Adjust prototype. - (adjust_address): Adjust call to adjust_address_1. - (adjust_address_nv): Likewise. - (adjust_bitfield_address): New macro. - (adjust_bitfield_address_nv): Likewise. - * expr.c (expand_assignment): Handle a PARALLEL in more cases. - (store_expr): Likewise. - (store_field): Likewise. - - * dse.c: Fix typos in the head comment. - 2012-10-21 Eric Botcazou - - PR rtl-optimization/44194 - * calls.c (expand_call): Allow sibling calls in the PARALLEL case. - -2012-10-25 Dehao Chen - - Backport r191810 from trunk. - - * cfglayout.c (fixup_reorder_chain): Compare locus against - UNKNOWN_LOCATION. - -2012-10-20 Xinliang David Li - - * dwarf2out.c: change functdef etc to be long time. - * function.h: Make FUNC_LABEL_ID 64 bit if possible. - -2012-10-19 Easwaran Raman - - * tree-ssa-reassoc.c (assign_uids): New function. - (assign_uids_in_relevant_bbs): Likewise. - (ensure_ops_are_available): Likewise. - (rewrite_expr_tree): Do not move statements beyond what is - necessary.Remove call to swap_ops_for_binary_stmt... - (reassociate_bb): ... and move it here. - -2012-10-19 Xinliang David Li - - * dwarf2out.c (get_subprogram_die): Use FUNC_LABEL_ID instead - of current_function_funcdef_no to synthysize label name. - -2012-10-19 Teresa Johnson - - Backport r192624 from google/main. - - 2012-10-19 Teresa Johnson - - * ree.c (add_removable_extension): Remove unnecessary - mode check with other extension. - * testsuite/gcc.c-torture/execute/20111227-2.c: New test. - * testsuite/gcc.c-torture/execute/20111227-3.c: Ditto. - -2012-10-18 Easwaran Raman - - Backport r183817 from google/gcc-4_6 branch. - - 2012-02-01 Easwaran Raman - - * expr.c (do_tablejump): Add default_probability as the - sixth parameter and use it to generate REG_BR_PROB note. - (try_tablejump): Add default_probability as a parameter. - * cfgbuild.c (non_zero_profile_counts): New function. - (compute_outgoing_frequencies): If edges have profile counts - set, don't replace them with guessed values. - * expr.h (try_tablejump): Add additional parameter to the - declaration. - * stmt.c (tree-flow.h): Include. - (case_node): Add new fields count and subtree_count. - (add_case_node): Pass count as a paramater and initialize - count field of case_node. - (case_probability): New macro. - (expand_case): Propagate profile information from the tree - level to RTL during switch case expansion. - (balance_case_nodes): Compute subtree_count for case nodes. - (emit_case_nodes): Set branch probabilities for generated - branches. - -2012-10-16 DeLesley Hutchins - - common.opt: - Add clang thread safety warning flags as supported, but ignored. - (-Wthread-safety-analysis/attributes/precise) - -2012-10-10 Dehao Chen - - Backport 192285 from trunk: - - 2012-10-10 Dehao Chen - - * tree-eh.c (lower_try_finally_onedest): Set correct location for - deallocator. - * gimplify.c (gimplify_expr): Set correct location for TRY stmt. - -2012-10-10 Diego Novillo - - Merge from gcc-4_7-branch rev 192176. - - Rollback revisions 190375 and 190601 (TM backports). - -2012-10-09 Harshit Chopra - - Backport 192231 from google/main: - - 2012-09-28 Harshit Chopra - - * gcc/config/i386/i386.c (ix86_output_function_nops_prologue_epilogue): - Emit relative address to function patch sections. - -2012-10-09 Rong Xu - - Google Ref: b/7049102. - * gcc.dg/tree-ssa/vrp1.c: New testcase. - -2012-10-09 Rong Xu - - Google Ref: b/7049102. - Backport r190291 from trunk. - - 2012-08-10 Richard Guenther - - PR tree-optimization/54109 - * tree-ssa-forwprop.c - (forward_propagate_addr_into_variable_array_index): Remove. - (forward_propagate_addr_expr_1): Adjust. - - * gcc.dg/torture/pr54109.c: New testcase. - * gcc.dg/tree-ssa/forwprop-1.c: Adjust. - * gcc.dg/tree-ssa/forwprop-2.c: Likewise. - -2012-10-08 Dehao Chen - - Backport 191931, 192049, 192120, 192165 from trunk. - - * tree-vect-loop-manip.c (slpeel_make_loop_iterate_ntimes): Use - LOCATION_LOCUS to compare with UNKNOWN_LOCATION. - (slpeel_tree_peel_loop_to_edge): Likewise. - * tree-vectorizer.c (vectorize_loops): Likewise. - * tree-cfg.c (move_block_to_fn): Update lexical block for phi_args. - * tree-ssa-live.c (clear_unused_block_pointer_1): Look at - DECL_DEBUG_EXPR again. - * gimple-low.c (lower_stmt): Set the block for call args. - -2012-10-08 Dehao Chen - - Backport 192215 from trunk: - - 2012-10-08 Dehao Chen - - * predict.c (predict_extra_loop_exits): Use - predict_paths_leading_to_edge to replace predict_edge_def. - -2012-10-01 Teresa Johnson - - Backport 191932 from google/main: - - Add a new dump flag that dumps PMU profile information using the -pmu - dump option. - - 2012-10-01 Teresa Johnson - Chris Manghane - - * doc/invoke.texi: Update -fpmu-profile-use option. - * tree-dump.c: Add new dump flag. - * tree-pretty-print.c (dump_load_latency_details): New function. - (dump_pmu): Ditto. - (dump_generic_node): Add support for new dump flag. - * tree-pretty-print.h (dump_pmu): Declare. - * tree-pass.h (enum tree_dump_index): Add new dump flag. - * gcov.c (process_pmu_profile): Fix string table count assert. - * opts.c (OPT_fpmu_profile_use_): Add support for -fpmu-profile-use. - * gimple-pretty-print.c (dump_gimple_phi): Add support for new dump - flag. - (dump_gimple_stmt): Ditto. - * coverage.c (struct pmu_entry): New structure. - (struct gcov_pmu_summary): Ditto. - (htab_pmu_entry_hash): New function. - (htab_pmu_entry_eq): Ditto. - (htab_pmu_entry_del): Ditto. - (read_pmu_file): Ditto. - (get_pmu_hash_entry): Ditto. - (process_pmu_data): Ditto. - (get_coverage_pmu_latency): Ditto. - (get_coverage_pmu_branch_mispredict): Ditto. - (pmu_data_present): Ditto. - (coverage_init): Add pmu file read support. - * coverage.h (get_coverage_pmu_latency): Declare. - (get_coverage_pmu_branch_mispredict): Ditto. - * common.opt: Update -fpmu-profile-use option. - -2012-09-28 Rong Xu - - Google Ref: b/7005205 - * gcc/coverage.c (coverage_checksum_string): strip out LIPO - specific string. - (crc32_string_1): New function. - * gcc/cp/decl2.c (start_static_storage_duration_function): - generate LIPO specific string. - -2012-09-27 Dehao Chen - - Backport from trunk r191494, r191510, r191614, r191669, r191680, - r191706, r191747, r191759, r191779 and r191810: - - * toplev.c (toplev_main): Finalize block_locations. - * tree.c (tree_set_block): New. - (tree_block): Change to use LOCATION_BLOCK. - (build1_stat): Remove block. - * tree.h (TREE_SET_BLOCK): New. - (tree_set_block): New. - (tree_block): Change to return tree. - (TREE_BLOCK): Likewise. - (tree_exp): Remove block. - (DECL_IS_BUILTIN): Compare LOCATION_LOCUS. - (EXPR_HAS_LOCATION): Likewise. - (inlined_function_outer_scope_p): Likewise. - (OMP_CLAUSE_HAS_LOCATION): Likewise. - * cfglayout.c (reemit_insn_block_notes): Change to use LOCATION_BLOCK. - (fixup_reorder_chain): Likewise. - (insn_discriminator): Likewise. - (insn_locators_alloc): Remove. - (insn_locators_finalize): Remove. - (insn_locators_free): Remove. - (set_curr_insn_source_location): Remove. - (get_curr_insn_source_location): Remove. - (set_curr_insn_block): Remove. - (get_curr_insn_block): Remove. - (locator_scope): Remove. - (insn_scope): Change to use new location. - (locator_location): Remove. - (insn_line): Change to use new location. - (locator_file): Remove. - (insn_file): Change to use new location. - (locator_eq): Remove. - (insn_locations_init): New. - (insn_locations_finalize): New. - (set_curr_insn_location): New. - (curr_insn_location): New. - * final.c (final_start_function): Likewise. - * input.c (expand_location): Likewise. - (location_with_discriminator): Likewise. - (has_discriminator): Likewise. - (map_discriminator_location): Likewise. - (get_discriminator_from_locus): Likewise. - * input.h (LOCATION_LOCUS): New. - (LOCATION_BLOCK): New. - * fold-const.c (expr_location_or): Change to use new location. - * reorg.c (emit_delay_sequence): Likewise. - (dbr_schedule): Likewise. - * modulo-sched.c (loop_single_full_bb_p): Likewise. - (dump_insn_location): Likewise. - (loop_canon_p): Likewise. - (sms_schedule): Likewise. - * lto-streamer-out.c (lto_output_location_bitpack): Likewise. - * lto-cgraph.c (output_node_opt_summary): Likewise. - * jump.c (rtx_renumbered_equal_p): Likewise. - * ifcvt.c (noce_try_move): Likewise. - (noce_try_store_flag): Likewise. - (noce_try_store_flag_constants): Likewise. - (noce_try_addcc): Likewise. - (noce_try_store_flag_mask): Likewise. - (noce_try_cmove): Likewise. - (noce_try_cmove_arith): Likewise. - (noce_try_minmax): Likewise. - (noce_try_abs): Likewise. - (noce_try_sign_mask): Likewise. - (noce_try_bitop): Likewise. - (noce_process_if_block): Likewise. - (cond_move_process_if_block): Likewise. - (find_cond_trap): Likewise. - * ipa-prop.c (ipa_set_jf_constant): Likewise. - (ipa_write_jump_function): Likewise. - * dwarf2out.c (add_src_coords_attributes): Likewise. - * expr.c (expand_expr_real): Likewise. - * tree-parloops.c (create_loop_fn): Likewise. - * recog.c (peep2_attempt): Likewise. - * function.c (free_after_compilation): Likewise. - (expand_function_end): Likewise. - (maybe_copy_prologue_epilogue_insn): Likewise. - (set_insn_locations): Likewise. - (thread_prologue_and_epilogue_insns): Likewise. - * print-rtl.c (print_rtx): Likewise. - * profile.c (branch_prob): Likewise. - * trans-mem.c (ipa_tm_scan_irr_block): Likewise. - * gimplify.c (gimplify_call_expr): Likewise. - * except.c (duplicate_eh_regions_1): Likewise. - * emit-rtl.c (try_split): Likewise. - (make_insn_raw): Likewise. - (make_debug_insn_raw): Likewise. - (make_jump_insn_raw): Likewise. - (make_call_insn_raw): Likewise. - (emit_pattern_after_setloc): Likewise. - (emit_pattern_after): Likewise. - (emit_insn_after_setloc): Likewise. - (emit_insn_after): Likewise. - (emit_jump_insn_after_setloc): Likewise. - (emit_jump_insn_after): Likewise. - (emit_call_insn_after_setloc): Likewise. - (emit_call_insn_after): Likewise. - (emit_debug_insn_after_setloc): Likewise. - (emit_debug_insn_after): Likewise. - (emit_pattern_before_setloc): Likewise. - (emit_pattern_before): Likewise. - (emit_insn_before_setloc): Likewise. - (emit_insn_before): Likewise. - (emit_jump_insn_before_setloc): Likewise. - (emit_jump_insn_before): Likewise. - (emit_call_insn_before_setloc): Likewise. - (emit_call_insn_before): Likewise. - (emit_debug_insn_before_setloc): Likewise. - (emit_debug_insn_before): Likewise. - (emit_copy_of_insn_after): Likewise. - * cfgexpand.c (gimple_assign_rhs_to_tree): Change to use new location. - (expand_gimple_cond): Likewise. - (expand_call_stmt): Likewise. - (expand_gimple_stmt_1): Likewise. - (expand_gimple_basic_block): Likewise. - (construct_exit_block): Likewise. - (gimple_expand_cfg): Likewise. - * cfgcleanup.c (try_forward_edges): Likewise. - * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. - (dump_scope_block): Likewise. - (mark_all_vars_used): Likewise. - (remove_unused_locals): Likewise. - (clear_unused_block_pointer): New. - (clear_unused_block_pointer_1): New. - * rtl.c (rtx_equal_p_cb): Likewise. - (rtx_equal_p): Likewise. - * rtl.h (XUINT): New. - (INSN_LOCATOR): Remove. - (CURR_INSN_LOCATION): Remove. - (INSN_LOCATION): New. - (INSN_HAS_LOCATION): New. - * tree-inline.c (remap_gimple_op_r): Change to use new location. - (copy_tree_body_r): Likewise. - (copy_phis_for_bb): Likewise. - (expand_call_inline): Likewise. - * tree-streamer-in.c (lto_input_ts_exp_tree_pointers): Likewise. - * tree-streamer-out.c (write_ts_decl_minimal_tree_pointers): Likewise. - * gimple-streamer-out.c (output_gimple_stmt): Likewise. - * combine.c (try_combine): Likewise. - * tree-outof-ssa.c (set_location_for_edge): Likewise. - (insert_partition_copy_on_edge): Likewise. - (insert_value_copy_on_edge): Likewise. - (insert_rtx_to_part_on_edge): Likewise. - (insert_part_to_rtx_on_edge): Likewise. - * basic-block.h (edge_def): Remove field. - * gimple.h (gimple_statement_base): Remove field. - (gimple_bb): Change to use new location. - (gimple_block): Likewise. - (gimple_set_block): Likewise. - (gimple_set_location): Likewise. - (gimple_has_location): Likewise. - * tree-cfg.c (make_cond_expr_edges): Likewise. - (make_goto_expr_edges): Likewise. - (gimple_can_merge_blocks_p): Likewise. - (assign_discriminator): Likewise. - (move_stmt_op): Likewise. - (move_block_to_fn): Likewise. - * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Likewise. - * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. - * config/i386/i386.c (x86_output_mi_thunk): Likewise. - * config/tilegx/tilegx.c (tilegx_output_mi_thunk): Likewise. - * config/sh/sh.c (sh_output_mi_thunk): Likewise. - (gen_block_redirect): Likewise. - * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise. - * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise. - (rs6000_final_prescan_insn): Likewise. - * config/score/score.c (score_output_mi_thunk): Likewise. - * config/tilepro/tilepro.c (tilepro_asm_output_mi_thunk): Likewise. - * config/mips/mips.c (mips_output_mi_thunk): Likewise. - (mips16_gp_pseudo_reg): Likewise. - * config/s390/s390.c (s390_chunkify_start): Likewise. - * config/spu/spu.c (emit_nop_for_insn): Likewise. - (pad_bb): Likewise. - (spu_emit_branch_hint): Likewise. - (insert_hbrp_for_ilb_runout): Likewise. - * config/mep/mep.c (mep_make_bundle): Likewise. - (mep_bundle_insns): Likewise. - * config/c6x/c6x.c (gen_one_bundle): Likewise. - * config/picochip/picochip.c (picochip_reorg): Likewise. - * config/arm/arm.c (require_pic_register): Likewise. - * config/bfin/bfin.c (gen_one_bundle): Likewise. - * cfgrtl.c (force_nonfallthru_and_redirect): Likewise. - (cfg_layout_merge_blocks): Likewise. - * stmt.c (emit_case_nodes): Likewise. - * tree-eh.c (lower_try_finally_dup_block): Likewise. - (honor_protect_cleanup_actions): Likewise. - -2012-09-24 Xinliang David Li - - * varasm.c (finish_alias_1): Fix mis-fired error - for extern alias (same-body) in LIPO mode. - -2012-09-24 Xinliang David Li - - * df-problems.c (df_check_ud_du_memory_usage): New function. - * ree.c (rest_of_handle_ree): Suppress ree if it requires - too much memory. - * dce.c (rest_of_handle_ud_dce): Ditto. - -2012-09-24 Rong Xu - - Google Ref: b/7210837 and b/7210303. - * coverage.c (force_matching_cg_opts): add new entries. - -2012-09-24 Rong Xu - - Google ref b/7078882. - * l-ipo.c (cgraph_is_aux_decl_external): output comdat - virtual functions when they are auxiliary modules; otherwise - we may get undefined symbol in linking. - -2012-09-14 Dehao Chen - - Backport r191338 from trunk. - - 2012-09-14 Dehao Chen - - * tree-eh.c (goto_queue_node): New field. - (record_in_goto_queue): New parameter. - (record_in_goto_queue_label): New parameter. - (lower_try_finally_dup_block): New parameter. - (maybe_record_in_goto_queue): Update source location. - (lower_try_finally_copy): Likewise. - (honor_protect_cleanup_actions): Likewise. - * gimplify.c (gimplify_expr): Reset the location to unknown. - -2012-09-14 Teresa Johnson - - Backport from trunk r190952 and r191238: - - * gcov-io.c (gcov_write_summary): Write out non-zero histogram - entries to function summary along with an occupancy bit vector. - (gcov_read_summary): Read in the histogram entries. - (gcov_histo_index): New function. - (gcov_histogram_merge): Ditto. - * gcov-io.h (gcov_type_unsigned): New type. - (struct gcov_bucket_type): Ditto. - (struct gcov_ctr_summary): Include histogram. - (GCOV_TAG_SUMMARY_LENGTH): Update to include histogram entries. - (GCOV_HISTOGRAM_SIZE): New macro. - (GCOV_HISTOGRAM_BITVECTOR_SIZE): Ditto. - (gcov_gcda_file_size): New parameter. - * profile.c (NUM_GCOV_WORKING_SETS): Ditto. - (gcov_working_sets): New global variable. - (compute_working_sets): New function. - (find_working_set): Ditto. - (get_exec_counts): Invoke compute_working_sets. - * loop-unroll.c (code_size_limit_factor): Call new function - find_working_set to obtain working set information. - * coverage.c (read_counts_file): Merge histograms, and - fix bug with accessing summary info for non-summable counters. - * basic-block.h (gcov_type_unsigned): New type. - (struct gcov_working_set_info): Ditto. - (find_working_set): Declare. - * gcov-dump.c (tag_summary): Dump out histogram. - * configure.ac (HOST_HAS_F_SETLKW): Set based on compile - test using F_SETLKW with fcntl. - * configure, gcc/config.in: Regenerate. - -2012-09-13 Xinliang David Li - - * cgraphunit.c (cgraph_add_output_node): Check for - duplicates of compiler generated functions. - -2012-09-12 Cary Coutant - - * gcc.c (replace_extension_spec_func): Restrict search for - extension to last component of path. - -2012-09-10 Sterling Augustine - - * dwarf2out.c (output_pubname): Correct conditional. - -2012-09-10 Teresa Johnson - - * loop-unroll.c (code_size_limit_factor): Guard against divide - by zero exception. - -2012-09-05 Cary Coutant - - Backport trunk patch to fix a problem where type signature does - not include the type's context. - - 2012-07-19 Jason Merrill - - PR debug/53235 - * dwarf2out.c (get_die_parent): New. - (generate_type_signature): Use it. - -2012-08-31 Cary Coutant - - * dwarf2out.c (clone_tree_partial): Restore. - (copy_decls_walk): Call clone_tree_partial to copy children - of non-declaration DIEs. - -2012-08-29 Chris Manghane - - Backport r190762 from google/main. - - 2012-08-28 Chris Manghane - - * gcc/gcov.c - (release_structures): Removed filename field from PMU structures. - (filter_pmu_data_lines): Added PMU string table support. - (process_pmu_profile): Ditto. - * gcc/gcov-io.c - (gcov_read_pmu_load_latency_info): Replaced filename field with filetag. - (gcov_read_pmu_branch_mispredict_info): Ditto. - (gcov_read_pmu_string_table_entry): New Function. - (print_load_latency_line): Replaced filename field with filetag. - (print_branch_mispredict_line): Ditto. - (print_string_table_entry): New function. - * gcc/gcov-io.h - (GCOV_TAG_PMU_LOAD_LATENCY_LENGTH): Replaced filename field with filetag - (GCOV_TAG_PMU_BRANCH_MISPREDICT_LENGTH): Ditto. - (GCOV_TAG_PMU_STRING_TABLE_ENTRY): Added new tag. - (GCOV_TAG_PMU_STRING_TABLE_ENTRY_LENGTH): Ditto. - (gcov_pmu_load_latency_info): Replaced filename field with filetag. - (gcov_pmu_branch_mispredict_info): Ditto. - (gcov_pmu_string_table_entry): New struct. - (gcov_pmu_string_table): New struct. - (gcov_write_ll_line): Moved pmu writing utilities to global header. - (gcov_write_branch_mispredict_line): Ditto. - (gcov_write_string_table_entry): Ditto. - (gcov_write_tool_header): Ditto. - * gcc/gcov-dump.c - (tag_pmu_load_latency_info): Removed PMU filename field. - (tag_pmu_branch_mispredict_info): Ditto. - (tag_pmu_string_table_entry): New function. - -2012-08-29 Cary Coutant - - * dwarf2out.c (clone_tree_partial): Remove. - (copy_decls_walk): Don't copy children of a declaration - into a type unit. - -2012-08-23 Teresa Johnson - - * config/i386/i386.md (anddi_1): Add new r,qm,Lh pattern - first to catch an and with 0xff that would be turned into - an andw on machines with length-changing prefix stalls, - and instead convert it into a zero-extending move. - (andsi_1, andhi_1): Ditto. - * config/i386/constraints.md (La): Rename from "L". - (Lh): New constraint to match possible LCP stalling ands. - * config/i386/i386.c (ix86_binary_operator_ok): Update - for rename of "L" constraint. - -2012-08-23 Teresa Johnson - - * Revert r189866 - -2012-08-23 Xinliang David Li - - *coverage.c (check_cg_opts): New function. - (has_incompatible_cg_opts): Ditto. - (incompatible_cl_args): Handle incompatible cg - options more generally, and added -fsized-delete. - -2012-08-23 Sriraman Tallam - - Backport r186789,r186795,r186855,r187365,r188417 - - r186789: - 2012-04-24 Sriraman Tallam - - * config/i386/i386.c (build_processor_model_struct): New function. - (make_var_decl): New function. - (fold_builtin_cpu): New function. - (ix86_fold_builtin): New function. - (make_cpu_type_builtin): New function. - (ix86_init_platform_type_builtins): New function. - (ix86_expand_builtin): Expand new builtins by folding them. - (ix86_init_builtins): Make new builtins to detect CPU type. - (TARGET_FOLD_BUILTIN): New macro. - (IX86_BUILTIN_CPU_INIT): New enum value. - (IX86_BUILTIN_CPU_IS): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS): New enum value. - * config/i386/i386-builtin-types.def: New function type. - * testsuite/gcc.target/builtin_target.c: New testcase. - * doc/extend.texi: Document builtins. - - r186795: - No changes. - - r186855: - 2012-04-25 Sriraman Tallam - - * doc/extend.texi: Document avx2 support. - * config/i386/i386.c (fold_builtin_cpu): Add avx2. - * testsuite/gcc.target/i386/builtin_target.c: Check avx2. - - r187365: - 2012-05-10 Rainer Orth - - * doc/extend.texi (X86 Built-in Functions, __builtin_cpu_init): - Document requirement to call in constructors. - - * config/i386/i386.c: Update comments for i386-cpuinfo.c name - change. - - r188417: - 2012-06-11 Sriraman Tallam - - * testsuite/gcc.target/i386/builtin_target.c (vendor_signatures): New enum. - (check_intel_cpu_model): New function. - (check_amd_cpu_model): New function. - (check_features): New function. - (__get_cpuid_output): New function. - (check_detailed): New function. - (fn1): Rename to quick_check. - (main): Update to call quick_check and call check_detailed. - -2012-08-22 Cary Coutant - - * dwarf2out.c (should_move_die_to_comdat): A type definition - can contain a subprogram definition, but don't move it to a - comdat unit. - -2012-08-20 Cary Coutant - - * dwarf2out.c (remove_loc_list_addr_table_entries): Change - parameter; update all calls. - (output_pubname): Don't assert on unknown TAGs. - (resolve_addr): Call remove_loc_list_addr_table_entries for all - location expressions. - -2012-08-20 Sterling Augustine - - * dwarf2out.c (DEBUG_PUBNAMES_SECTION, DEBUG_PUBTYPES_SECTION): Adjust - macros. - (is_java, include_pubname_in_output): New functions. - (size_of_pubnames): Call include_pubname_in_output. New variable - space_for_flags. - (output_pubnames): Refactor, moving most of the logic to... - (output_pubname): ... here. New function. - (dwarf2out_finish): Move output pubtable logic to... - (output_pubtables): ... here. New function. - * common.opt (ggnu-pubnames): New option. - (gpubnames, gno-pubnames): Adjust. - * doc/invoke.texi: Document -ggnu-pubnames. - -2012-08-17 Cary Coutant - - * dwarf2out.c (is_class_die): Remove function. - (add_pubname): Call class_scope_p instead. - -2012-08-17 Xinliang David Li - - cgraphunit.c (is_backend_entered_p): New function. - -2012-08-14 Han Shen - Backport from mainline. - - 2012-05-01 Richard Earnshaw - - * arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER_DEFAULT): Avoid ifdef - comparing enumeration values. Update comments. - - 2012-04-26 Michael Hope - Richard Earnshaw - - * config/arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER_SOFT_FLOAT): Define. - (GLIBC_DYNAMIC_LINKER_HARD_FLOAT): Define. - (GLIBC_DYNAMIC_LINKER_DEFAULT): Define. - (GLIBC_DYNAMIC_LINKER): Redefine to use the hard float path. - -2012-08-13 Xinliang David Li - - Google ref/6911651 - * tree-ssa.c (warn_uninitialized_vars): Guard - possibly uninitialized warning under - -Wmaybe-uninitialized - -2012-08-09 Cary Coutant - - * tree-diagnostic.c (maybe_unwind_expanded_macro_loc): Check for - discriminator. - * diagnostic.c (diagnostic_report_current_module): Likewise. - -2012-08-09 Cary Coutant - - Backport of pending upstream patch. - - * dwarf2out.c (clone_as_declaration): Copy DW_AT_abstract_origin - attribute. - (generate_skeleton_bottom_up): Remove DW_AT_object_pointer attribute - from original DIE. - (clone_tree_hash): Rename to ... - (clone_tree_partial): ... this; change callers. Copy - DW_TAG_subprogram DIEs as declarations. - -2012-08-07 Cary Coutant - - Backport r190190 from trunk. - - * cgraphunit.c (assemble_thunk): Add source line info. - * final.c (final): Check for non-null cfg pointer. - -2012-08-01 Dehao Chen - - Backport r190015 from trunk: - - 2012-07-31 Dehao Chen - * predict.c (tree_estimate_probability_driver): Normalize the - loop when initializing the loop optimizer. - -2012-07-26 Cary Coutant - - * dwarf2out.c (dwo_id_placeholder): Delete. - (output_skeleton_debug_sections): Don't write dwo_id here. - (dwarf2out_finish): Compute dwo_id and write it to both comp units. - -2012-07-25 Cary Coutant - - Backport pending upstream patch to output DW_AT_high_pc as a constant - instead of a relocated address. This significantly reduces the number - of entries used in the .debug_addr table with -gfission. - - 2012-04-27 Mark Wielaard - - * dwarf2out.h (enum dw_val_class): Add dw_val_class_high_pc. - * dwarf2out.c (dw_val_equal_p): Handle dw_val_class_high_pc. - (add_AT_low_high_pc): New function. - (AT_lbl): Handle dw_val_class_high_pc. - (print_die): Likewise. - (attr_checksum): Likewise. - (attr_checksum_ordered): Likewise. - (same_dw_val_p): Likewise. - (size_of_die): Likewise. - (value_format): Likewise. - (output_die): Likewise. - (gen_subprogram_die): Use add_AT_low_high_pc. - (add_high_low_attributes): Likewise. - (dwarf2out_finish): Likewise. - -2012-07-25 Teresa Johnson - - Backport the following patches from trunk to ensure that - "andw $0xff, $reg" is always converted to a zero extend - to avoid LCP stalls on core2/corei7 (b/6615073): - r184891, r186839, r186979, r186993, r188630, r188634, r188648 - - r184891: - 2012-03-04 Uros Bizjak - * config/i386/constraints.md (Ya): New internal constraint. - * config/i386/i386.md (zero_extendsidi2): Remove expansion. - (*zero_extendsidi2_rex64): Add x,x alternative. - (*zero_extendsidi2): Ditto. Add o,0 alternative. - Remove flags reg clobber. Adjust corresponding splits. - (zero_extendsi2): Macroize expander from zero_extendhisi2 and - zero_extendqisi2 expanders using SWI12 mode iterator. - (zero_extendsi2_and): Macroize insn from - zero_extendhisi2_and and zero_extendqisi2_and. Merge corresponding - splitters. - (*zero_extendsi2): Macroize insn from - *zero_extendhisi2_movzbl and *zero_extendqisi2_movzbl. - (*zero_extend*2_movzbl_and): Remove insn patterns. - (zero_extendqihi2_and): Merge corresponding splitter. - (*zero_extendqihi2): Rename from *zero_extendqihi2_movzbl. - (*zero_extend*2_movzbl_and): Remove insn patterns. - (*anddi_1): Split TYPE_IMOVX instructions. - (*andsi_1): Use Ya for alternative 2. Split TYPE_IMOVX instructions. - (*andhi_1): Ditto. - (and->zext splitter): Add splitter pattern. - (zero extend with andsi3 splitter): Adjust zero_extend pattern. - - r186839: - 2012-04-25 Jakub Jelinek - PR target/53110 - * config/i386/i386.md (and3): For andq $0xffffffff, reg - instead expand it as zero extension. - - r186979: - 2012-04-30 Uros Bizjak - * config/i386/i386.md (and3): Expand masking operations with - 0xff, 0xffff or 0xffffffff immediates to corresponding zero_extend RTX. - (and splitter): Split to DImode zero_extend RTX for DImode operand[0]. - - r186993: - 2012-04-30 Uros Bizjak - * config/i386/i386.md (and3): Change runtime operand mode checks - to compile-time "mode == mode" checks. - (and splitter): Ditto. - - r188630: - 2012-06-14 Uros Bizjak - * config/i386/i386.md (*zero_extendsidi2): Remove x,x alternative. - (*zero_extendsidi2_rex64): Ditto. Remove isa attribute. - - r188634: - 2012-06-14 Uros Bizjak - Fix my previous commit to: - * config/i386/i386.md (*zero_extendsidi2): Remove x,x alternative. - (*zero_extendsidi2_rex64): Ditto. Remove isa attribute. - - r188648: - 2012-06-14 Uros Bizjak - (*zero_extendsidi2_rex64): Remove isa attribute. - -2012-07-25 Cary Coutant - - * common.opt (-gfission): Alias for -gsplit-dwarf. - (-gno-fission): Alias for -gno-split-dwarf. - -2012-07-25 Diego Novillo - - Merge from gcc-4_7-branch rev 189718. - -2012-07-24 Cary Coutant - - Backport pending Fission patch at http://codereview.appspot.com/6305113. - - 2012-07-18 Sterling Augustine - Cary Coutant - - * common.opt (gno-split-dwarf, gsplit-dwarf): New switches. - * doc/invoke.texi (Debugging Options): Document them. - * opts.c (finish_options): Make gsplit-dwarf imply -gpubnames. - * dwarf2out.h (dw_val_struct): New field val_index. - * dwarf2out.c (debug_skeleton_info_section, - debug_skeleton_abbrev_section, debug_addr_section, - debug_skeleton_line_section, debug_str_offsets_section): New sections. - (indirect_string_node): Add index field. - (dw_loc_list_node): Add begin_index field. - (dw_addr_op, new_addr_loc_descr, AT_index, set_AT_index, - add_addr_table_entry, remove_addr_table_entry, output_range_list_offset, - output_loc_list_offset, output_attr_index_or_value, - remove_loc_list_addr_table_entries, output_die_abbrevs, - add_top_level_skeleton_die_attrs, get_skeleton_type_unit, - output_skeleton_debug_sections, output_index_strings, - output_addr_table, index_location_lists): New functions. - (DEBUG_DWO_INFO_SECTION, DEBUG_DWO_ABBREV_SECTION, DEBUG_ADDR_SECTION, - DEBUG_NORM_MACINFO_SECTION, DEBUG_DWO_MACINFO_SECTION, - DEBUG_DWO_LINE_SECTION, DEBUG_DWO_LOC_SECTION, - DEBUG_NORM_STR_OFFSETS_SECTION, DEBUG_DWO_STR_SECTION, - DEBUG_MACRO_SECTION_FLAGS, DEBUG_SKELETON_LINE_SECTION_LABEL, - DEBUG_SKELETON_INFO_SECTION_LABEL, DEBUG_SKELETON_ABBREV_SECTION_LABEL, - DEBUG_ADDR_SECTIN_LABEL, SKELETON_COMP_DIE_ABBREV, - SKELETON_TYPE_DIE_ABBREV): New defines. - (DEBUG_MACINFO_SECTION, DEBUG_MACRO_SECTION, DEBUG_STR_SECTION - DEBUG_STR_SECTION_FLAGS): Adjust definitions. - (TEXT_SECTION_LABEL, COLD_TEXT_SECTION_LABEL, DEBUG_INFO_SECTION_LABEL, - DEBUG_ABBREV_SECTION_LABEL, DEBUG_LOC_SECTION_LABEL, - DEBUG_RANGES_SECTION_LABEL, DEBUG_MACINFO_SECTION_LABEL, - DEBUG_MACRO_SECTION_LABEL): Adjust indentation. - (debug_skeleton_info_section_label, debug_skeleton_abbrev_section_label, - debug_addr_section_label, debug_skeleton_line_section_label, - dw_id_placeholder): New global variables. - (add_AT_lbl_id): Add force_direct parameter. Adjust calls throughout - file. Handle dwarf_split_debug_info. - (add_AT_addr). Likewise. Initialize val_index_field. - (add_AT_range_list): Add force parameter. Adjust calls throughout file. - Initialize val_index field. - (add_ranges_by_labels): Add and handle force_direct parameter. Adjust - calls throughout file. - (size_of_die): New variable form. Handle dwarf_split_debug_info and - call AT_index. - (value_format): Use AT_class instead of calling val_class directly. - Handle DW_FORM_addr and dw_val_class_lbl_id appropriately for - dwarf_split_debug_info and AT_index. - (output_abbrev_section): Move most code to new function - output_die_abbrevs. - (output_loc_list): Handle dwarf_split_debug_info by using - DW_LLE_start_length_entry and DW_LLE_end_of_list_entry. - (output_die): Call output_attr_index_or_value, output_range_list_offset, - Fix format string. Check val_str->form directly to avoid side effect. - (add_pubtype): Fix indention. - (output_comdat_type_unit): Handle dwarf_split_debug_info. - (output_pubnames): Likewise. - (output_aranges): Likewise. - (output_mac_info): Likewise. - (output_line_info): New parameter prologue_only. Adjust calls - throughout file. - (mem_loc_descriptor): Call new_addr_loc_descr. - (loc_descriptor): Likewise. - (add_const_value_attribute): Likewise. - (loc_list_from_tree): Replace first_op and second_op with tls_op. - Update associated logic. Call new_addr_loc_descr. - (dwarf2out_init): Handle dwarf_split_debug_info. Initialize - debug_skeleton_info_section, debug_skeleton_abbrev_section, - debug_addr_section, debug_skeleton_line_section, - debug_str_offsets_section, debug_skeleton_info_section_label, - debug_skeleton_abbrev_section_label, debug_addr_section_label and - debug_skeleton_line_section_label. Use DEBUG_MACRO_SECTION_FLAGS. - (new_loc_descr, build_cfa_loc, add_AT_flag, add_AT_int, add_AT_unsigned, - add_AT_double, add_AT_vec, add_AT_data8, add_AT_string, add_AT_die_ref, - add_AT_fde_ref, add_AT_loc, add_AT_loc_list, add_AT_file, - add_AT_vms_delta, add_AT_lineptr, add_AT_macptr, add_AT_offset): - Initialize val_index field. - (size_of_loc_descr, output_loc_operands, output_loc_operands_raw, - resolve_addr_in_expression, hash_loc_operands): Handle - DW_OP_GNU_addr_index and DW_OP_GNU_const_index. - (compare_loc_operands): Likewise. Adjust assertion. - (AT_string_form): Handle dwarf_split_debug_info. - (resolve_addr): New local variable l. Check val_index. Call - remove_addr_table_entry and remove_loc_list_addr_table_entries. - (dwarf2out_finish): Handle dwarf_split_debug_info. New variable - main_comp_unit_die. Call index_location_lists, add_AT_data8, - add_AT_lineptr, output_skeleton_debug_sections, output_addr_table. Move - call to ASM_GENERATE_INTERNAL_LABEL to dwarf2out_init. Call - ASM_OUTPUT_LABEL for debug_skeleton_line_section_label and - debug_addr_section_label. Adjust comment. - * gcc.c (replace_extension_spec_func): New function. - (ASM_FINAL_SPEC): Adjust. Fix related comments. - (check_live_switch): Likewise. - -2012-07-24 Xinliang David Li - - * diagnostic.c (diagnostic_initialize): Initialize - new field. - (diagnostic_report_diagnostic): Honor -Wforce-warnings. - * diagnostic.h: New field. - * opts.c (common_handle_option): Handle new option. - * coverage.c (get_da_file_name): Handle new option. - * common.opt: New options. - -2012-07-24 Cary Coutant - - Backport Fission patches from trunk at r188195, r188857, r189084, - r189094, and r189392. - - 2012-06-29 Cary Coutant - - * dwarf2out.c (add_pubname_string): Don't check for want_pubnames. - (gen_subprogram_die): Don't add pubname if want_pubnames is false. - (gen_variable_die): Likewise. - (gen_namespace_die): Likewise. - - 2012-06-29 Sterling Augustine - - * dwarf2out.c (add_pubname): Add comment. - (add_pubtype): Fix indentation. - (gen_enumeration_type_die): Likewise. - - 2012-06-21 Sterling Augustine - Cary Coutant - - * dwarf2out.c (is_cu_die, is_namespace_die, is_class_die, - add_AT_pubnames, add_enumerator_pubname, want_pubnames): New functions. - (comdat_type_struct): New field 'skeleton_die'. - (breakout_comdat_types): Update it. - (add_pubname): Rework logic. Call is_class_die, is_cu_die and - is_namespace_die. Fix minor style violation. Call want_pubnames. - (add_pubname_string): Call want_pubnames. - (add_pubtype): Rework logic for calculating type name. Call - is_namespace_die. Call want_pubnames. - (output_pubnames): Move conditional logic deciding when to produce the - section from dwarf2out_finish. Use new skeleton_die field. - (base_type_die): Call add_pubtype. - (gen_enumeration_type_die): Unconditionally call add_pubtype. - (gen_subprogram_die): Adjust calls to add_pubname. - (gen_namespace_die): Call add_pubname_string. - (dwarf2out_finish): Call add_AT_pubnames; Move logic on when to - produce pubnames and pubtypes sections to output_pubnames. - * common.opt: New option '-gpubnames'. - * doc/invoke.texi: Document it. - -2012-07-19 Easwaran Raman - - * params.def (HOT_BB_COUNT_FRACTION): Set default to 60000. - -2012-07-19 Rong Xu - - Backport r189691 from google_main. - * gcc/gcov-io.h (GCOV_TAG_MODULE_INFO): tag needs to be - an odd number in each active level. - -2012-07-10 Xinliang David Li - - Backport r189413 from trunk - * doc/invoke.texi: New option documented. - * flag-types.h: New enum type. - * gimplify.c (gimplify_bind_expr): Control - clobber generation with new option. - (gimplify_target_expr): Ditto. - common.opt: New option. - -2012-07-10 Xinliang David Li - - * Revert r189107 - -2012-07-01 Xinliang David Li - - * common.opt: -ftemp-reuse-stack option. - * gimplify.c (gimplify_target_expr): Check new flag. - -2012-06-29 Xinliang David Li - - * coverage.c (coverage_init): Initialize dyn-ipa - paramater decls. - * tree-profile.c (init_comdat_decl): New function. - (tree_init_dyn_ipa_paramters): Ditto. - -2012-06-27 Dehao Chen - - Backport from trunk r188981. - * tree-inline.c: (expand_call_inline): Ensure that lexical block's - source location is consistant with the call stmt. - -2012-06-21 Diego Novillo - - Merge from trunk rev 188808. - -2012-06-15 Cary Coutant - - Revert Fission patches r182490, r182891, r183042, and r183320. - This will clear the way to backport the final patches from trunk. - - r182490: - - 2011-12-19 Sterling Augustine - - * dwarf2out.c (DEBUG_PUBNAMES_SECTION_LABEL, - DEBUG_PUBTYPES_SECTION_LABEL): Define. - (debug_pubnames_section_label, debug_pubtypes_section_label): - Declare. - (is_namespace_die, is_class_die): New functions. - (add_enumerator_pubname): New function. - (add_pubname): Call is_namespace_die, is_cu_die, and is_class_die in - conditional. - (add_pubtype): Call is_namespace_die. Rework name calculation. Call - type_tag, lang_hooks.dwarf_name and add_enumerator_pubname. - (output_pubnames): Output debug_pubnames_section_label or - debug_pubtypes_section_label. - (base_type_die): Call add_pubtype. - (gen_namespace_die): Call add_pubname_string and lang_hooks.dwarf_name. - (dwarf2_out_init): Generate debug_pubnames_section_label and - debug_pubtypes_section_label. - (pubtypes_section_empty): New function. - (dwarf2_out_finish): Call add_AT_lineptr if pubnames or pubtypes is - non-empty. When dealing with pubnames, change assertion to conditional. - Call pubtypes_section_empty. Likewise when dealing with pubtypes. - Move code checking for empty section to... - (pubtypes_section_empty): Here. - * target.def: Switch boolean to enable pubnames and pubtypes. - - r182891: - - 2012-01-04 Sterling Augustine - - * dwarf2out.c (add_pubname): Move conditional clause from outer to - inner if-statement. - (dwarf2out_finish): Fix conditions to output DW_AT_GNU_pubnames and - DW_AT_GNU_pubtypes. Move decision to output pubnames and pubtypes from - here... - (output_pubnames): ...to here. - (pubtypes_section_empty): Delete unused function. - - r183042: - - 2012-01-09 Sterling Augustine - - * dwarf2out.c (output_pubnames): Add check for info_section_emitted. - - r183320: - - 2012-01-19 Sterling Augustine - - * dwarf2out.c (break_out_comdat_types): Add DW_AT_GNU_pubnames and - DW_AT_GNU_pubtypes attributes. - -2012-06-15 Easwaran Raman - Cherrypick r188675 from trunk. - 2012-06-15 Easwaran Raman - * passes.c (init_optimization_passes): Remove pass_call_cdce - from its current position and insert after pass_dce. - -2012-06-09 Xinliang Davidl Li - - l-ipo.c (pop_module_scope): Stop timer after - pending decl handling. - -2012-06-09 Xinliang Davidl Li - - c-family/c-opts.c (lipo_max_mem_reached): Scale up - memory allocated to acount for optimizer uses. - params.def: tune up max lipo mem parameter to 2.8G. - -2012-06-07 Easwaran Raman - Backport r179412 from google/gcc-4_6 branch. - 2011-09-30 Easwaran Raman - - * tree-profile.c (gcov_sample_counter_decl): Add GTY marker. - (gcov_sampling_rate_decl): Likewise. - (add_sampling_to_edge_counters): Do not free - instrumentation_to_be_sampled. - (cleanup_instrumentation_sampling): New function. - (tree_profiling): Call cleanup_instrumentation_sampling at the end. - -2012-06-07 Teresa Johnson - - Backport from google/main r188308. - 2012-06-07 Teresa Johnson - - * doc/invoke.texi: Rename -fripa-peel-size-limit - and -fripa-unroll-size-limit to -fpeel-codesize-limit and - -funroll-codesize-limit, respectively. Remove - codesize-hotness-threshold param and add unrollpeel-hotness-threshold - param. - * gcov-io.c (gcov_write_summary): Write new summary info. - (gcov_read_summary): Read new summary info. - * gcov-io.h (GCOV_TAG_SUMMARY_LENGTH): Update for new summary info. - (struct gcov_ctr_summary): Add new summary info: num_hot_counters. - * loop-unroll.c (limit_code_size): Renamed to - code_size_limit_factor. - (code_size_limit_factor): Renamed from limit_code size. Update to - use new summary info and refine for very hot loops. - (decide_unrolling_and_peeling): Remove call to limit_code_size. - (decide_unroll_runtime_iterations): Call code_size_limit_factor - to control the unroll factor. - (decide_peel_simple, decide_unroll_stupid): Ditto. - * coverage.c (read_counts_file): Propagate new summary info. - * common.opt: Rename -fripa-peel-size-limit - and -fripa-unroll-size-limit to -fpeel-codesize-limit and - -funroll-codesize-limit, respectively. - * tree-optimize.c (cgraph_codesize_estimate): Remove. - (compute_codesize_estimate): Remove. - (execute_cleanup_cfg_post_optimizing): Remove call to - compute_codesize_estimate. - * params.def (PARAM_UNROLLPEEL_CODESIZE_THRESHOLD): Remove. - (PARAM_UNROLLPEEL_HOTNESS_THRESHOLD): Add. - * gcov-dump.c (tag_summary): Dump new summary info. - -2012-06-07 Dehao Chen - - * gcc/cgraph.c (cgraph_node): Add attribute to function decl. - * gcc/opts-global.c (add_attribute_pattern): New function. - (pattern_match_function_attributes): New function. - (handle_common_deferred_options): Handle new options. - * gcc/opts.c (common_handle_option): Handle new options. - * gcc/opts.h (handle_common_deferred_options): New function. - * gcc/common.opt (ffunction_attribute_list): New option. - -2012-06-06 Diego Novillo - - Cherry pick rev 188207. - - 2012-06-04 Paolo Carlini - - PR c++/53524 - * doc/invoke.texi (Wenum-compare): Update documentation. - - /cp - 2012-06-04 Paolo Carlini - - PR c++/53524 - * call.c (build_conditional_expr_1): Use OPT_Wenum_compare - to control enumeral mismatch in conditional expression too. - - /testsuite - 2012-06-04 Paolo Carlini - - PR c++/53524 - * g++.dg/warn/Wenum-compare-no-2: New. - -2012-06-06 Xinliang David Li - - coverage.c (coverage_finish): Do not remove gcda file with - -frandom-seed option -- this recovers the compiler behavior - before gcc4_7. - - -2012-06-05 Diego Novillo - - Merge from gcc-4_7-branch rev 188095 (minus rev 187877). - -2012-06-02 Xinliang David Li - - l-ipo.c (promote_static_var_func): Promoted static variables from - primary modules should be marked as externally visible and being - prevailing def to avoid being localized again later. - - -2012-06-02 Easwaran Raman - - * gcc/ipa-inline.c (want_early_inline_function_p): Boost early - inlining of comdats. Allow more tuning by using params. - * gcc/params.def (PARAM_EARLY_INLINING_INSNS_NON_LEAF): New param. - (PARAM_EARLY_INLINING_INSNS_ANY): Likewise. - (PARAM_EARLY_INLINING_INSNS_COMDAT): Likewise. - -2012-05-30 Dehao Chen - - * predict.c (predict_extra_loop_exit): New function to predict for - extra loop exits resulted from short-circuit conditions. - -2012-05-24 Rong Xu - - * l-ipo.c (create_unique_name): Make temp names demanglable. - -2012-05-21 Easwaran Raman - - * gcc/basic-block.h (maybe_hot_count_p): New declaration. - * gcc/cgraph.c (dump_cgraph_node): Dump max_bb_count. - (cgraph_clone_node): Update max_bb_count. - * gcc/cgraph.h (cgraph_node): Add new field max_bb_count. - * gcc/cgraphbuild.c (rebuild_cgraph_edges): Compute max_bb_count. - * gcc/cgraphunit.c (cgraph_copy_node_for_versioning): Copy max_bb_count. - * gcc/ipa-inline-transform.c (inline_call): Update max_bb_count of - the function to which this callsite is eventually inlined to. - * gcc/ipa-inline.c (edge_hot_enough_p): New function. - (want_inline_small_function_p): Call edge_hot_enough_p instead - of cgraph_maybe_hot_edge_p. - * gcc/params.def (PARAM_INLINE_FUNCTION_OVERHEAD_SIZE): New param. - * gcc/predict.c (maybe_hot_count_p): Make it non static. - * gcc/testsuite/gcc.dg/tree-prof/inliner-1.c: Add option - --param inline-hot-caller=0. - * gcc/testsuite/gcc.dg/tree-prof/lipo/inliner-1_0.c: Likewise. - -2012-05-18 Teresa Johnson - - Backport from google/main r187660: - 2012-05-18 Teresa Johnson - - * doc/invoke.texi: Update the documentation with new params. - * loop-unroll.c (loop_has_FP_comp): Remove function. - (max_unroll_with_branches): New function. - (decide_unroll_constant_iterations, decide_unroll_runtime_iterations): - Add heuristic to avoid increasing branch mispredicts when unrolling. - (limit_code_size, decide_peel_simple, decide_unroll_stupid): Retrieve - number of branches from niter_desc instead of via function that walks - loop. - * loop-iv.c (get_simple_loop_desc): Invoke new analyze_loop_insns - function, and add guards to enable this function to work for the - outermost loop. - * cfgloop.c (insn_has_fp_set, analyze_loop_insns): New functions. - (num_loop_branches): Remove. - * cfgloop.h (struct niter_desc): Added new fields to cache additional - loop analysis information. - (num_loop_branches): Remove. - (analyze_loop_insns): Declare. - * params.def (PARAM_MIN_ITER_UNROLL_WITH_BRANCHES): New param. - (PARAM_UNROLL_OUTER_LOOP_BRANCH_BUDGET): Ditto. - -2012-05-16 Sriraman Tallam - - Port from google/gcc-4_6 - r177289, r177308, r179104, r179289, r179303, r179404, r182447 - - * doc/invoke.texi: Document -freorder-functions=* - * cgraphbuild.c (remove_cgraph_callee_edges): Preserve - callgraph till pass_final. - * configure: Regenerate. - * final.c (dump_cgraph_profiles): New function. - (rest_of_handle_final): Call dumping of cgraph profiles in - .gnu.text.callgraph sections. - * gcc.c (LINK_COMMAND_SPEC): Process -freorder-functions= - (set_func_reorder_linker_plugin_spec): New function. - (main): Call function reorder plugin. - * testsuite/lib/target-supports-dg.exp - (dg-require-section-exclude): New proc. - (dg-require-linker-function-reordering-plugin): New proc. - * testsuite/lib/target-supports.exp - (check_section_exclude_available): New proc. - (check_linker_function_reordering_plugin_supported): New proc. - * testsuite/g++.dg/tree-prof/callgraph-profiles.C: New test. - * config.in: undef FRPLUGINSONAME - * opts.c - * configure.ac (FRPLUGINSONAME): Define - * common.opt (fcallgraph-profiles-sections): Remove. - (freorder-functions=): New option. - * tree-optimize.c (gate_all_optimizations): Mark last cleanup of - callgraph. - * config.host: Set function reordering plugin. - * params.def (PARAM_NOTE_CGRAPH_SECTION_EDGE_THRESHOLD): Remove. - (PARAM_GNU_CGRAPH_SECTION_EDGE_THRESHOLD): Add. - -2012-05-16 Xinliang David Li - - * tree-profile.c (add_sampling_wrapper): Call - add_referenced_var for sampling related variables. - (gimple_init_instrumentation_sampling): Do not - call varpool_finalize for external decls. - -2012-05-16 Xinliang David Li - - * cgraph.c (cgraph_set_call_stmt): Resolve target - to the real target in LIPO mode. - (cgraph_create_virtual_clone): Ditto. - -2012-05-16 Xinliang David Li - - * c-family/c-opts.c (is_parsing_done_p): New function. - * cp/semantics.c (cp_clear_constexpr_hashtable): Ditto. - * cp/decl2.c (cp_clear_defered_fns): Clear constexpr hash. - * cp/mangle.c (mangle_decl): Save decl for binding clearing. - * cp/cp-tree.h: New prototype declaration. - * l-ipo.c: New prototype declaration. - - -2012-05-15 Teresa Johnson - - Backport from google/main r187536: - 2012-05-15 Teresa Johnson - - * doc/invoke.texi (profile-generate-sampling-period): Rename - from profile-generate-sampling-rate. - * tree-profile.c (gcov_sampling_period_decl): Rename from - gcov_sampling_rate_decl. - (gcov_has_sampling_decl): New variable. - (insert_if_then, add_sampling_wrapper): Rename variables from "*rate*" - to "*period*". - (gimple_init_instrumentation_sampling): Ditto, and add handling - for gcov_has_sampling_decl. - * params.def (profile-generate-sampling-period): Rename - from profile-generate-sampling-rate. - -2012-05-15 Diego Novillo - - Merge from gcc-4_7-branch rev 187362. - -2012-05-14 Xinliang David Li - - * cgraphbuild.c (record_reference_to_real_target_from_alias): - New function. - (mark_address): Record reference to the resolved target node - in LIPO mode. Also record reference to alias's real target. - (rebuild_cgraph_edges): As above. - * cgraph.c (cgraph_clone_edge): Create cgraph edge for - indirect call inlining edge properly. - * l-ipo.c (cgraph_lipo_get_resolved_node_1): Do not force - creating cgraph node. - (fixup_reference_list): New function. - (varpool_do_link): Fix up initializer's references to functions - after linking. - -2012-05-09 Teresa Johnson - - Backport from trunk r187297: - 2012-05-08 Teresa Johnson - - * gcov-io.h (__gcov_reset, __gcov_dump): Declare. - * doc/gcov.texi: Add note on using __gcov_reset and __gcov_dump. - -2012-05-08 Xinliang David Li - - Fix issue 6457844 - - * ipa-inline-transform.c (inline_call): When - fixing up cgraph edge callees which are aliases, - find the real resolved alias target in LIPO mode. - * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): - Remove unnecssary check in LIPO mode. - * ipa-inline.c (inline_small_functions): Compute - max_count properly by considering indirect edges. - - - -2012-05-08 Xinliang David Li - - Fix issue 6461583 - - * profile.c (instrument_values): Skip static ctor/dtors - for ic counter allocation to match instrumentation. - * tree-profile.c (gimple_gen_ic_profiler): Remove - unnecessary guard in FDO mode. - -2012-05-03 Dehao Chen - - Backport r185949 from google-main. - - 2012-03-29 Dehao Chen - - * predict.c (predict_iv_comparison): Add the comparison of - induction variable against its initial value. - -2012-05-01 Rong Xu - - Backport r187028 from google-main. - - 2012-05-01 Rong Xu - - * gcc/cp/rtti.c (get_tinfo_decl): generate tinfo for aux - modules in LIPO. - -2012-04-25 Diego Novillo - - Add better commit message for recent merge. - -2012-04-25 Diego Novillo - - Merge from gcc-4_7-branch rev 186721. - -2012-04-20 Xinliang David Li - - Backport r186622 from trunk - * tree-ssa-copy.c (propagate_tree_value_into_stmt): Use - update_call_from_tree when propagating into a call. - - - * varasm.c (alias_target_node_exist_p): New function. - (finish_alias_1): Use the new function in LIPO mode. - -2012-04-12 Xinliang David Li - - * cgraphbuild.c (rebuild_cgraph_edges): Add ipa reference from - an alias node to its body node (post LIPO linking one) to avoid - the body being eliminated. - * varasm.c (finish_aliases_1): Do not emit error for an alias - which is artificial in LIPO mode -- it exists but can not be - found. - -2012-04-11 Teresa Johnson - - Revert r182254 since it is subsumed by r186332. - -2012-04-11 Teresa Johnson - - Backport r186176 from trunk. - - 2012-04-05 Teresa Johnson - H.J. Lu - - * config/i386/i386.h (ix86_tune_indices): Add - X86_TUNE_LCP_STALL. - * config/i386/i386.md (move immediate to memory peephole2): - Add cases for HImode move when LCP stall avoidance is needed. - * config/i386/i386.c (initial_ix86_tune_features): Initialize - X86_TUNE_LCP_STALL entry. - -2012-04-10 Xinliang David Li - - * mversn-dispatch.c (builtin_dispatch_ipa_clone): returns - TODO flags when there are changes. - (do_convert_builtin_dispatch): Ditto. - -2012-04-09 Xinliang David Li - - Fix b/6300341: LIPO profile-gen ICEs - - * coverage.c (converage_dc_end_function): Properly initialize - the fn_decl and ctr_data field of the coverage_data. - -2012-03-07 Sriraman Tallam - - Backport from google/main rev 185083 - - * config/i386/i386.c (build_struct_with_one_bit_fields): New function. - (make_var_decl): New function. - (get_field_from_struct): New function. - (fold_builtin_target): New function. - (ix86_fold_builtin): New function. - (ix86_expand_builtin): Expand new builtins by folding them. - (make_platform_builtin): New functions. - (ix86_init_platform_type_builtins): Make the new builtins. - (ix86_init_builtins): Make new builtins to detect CPU type. - (TARGET_FOLD_BUILTIN): New macro. - (IX86_BUILTIN_CPU_SUPPORTS_CMOV): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_MMX): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_POPCOUNT): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_SSE): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_SSE2): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_SSE3): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_SSSE3): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_SSE4_1): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_SSE4_2): New enum value. - (IX86_BUILTIN_CPU_INIT): New enum value. - (IX86_BUILTIN_CPU_IS_AMD): New enum value. - (IX86_BUILTIN_CPU_IS_INTEL): New enum value. - (IX86_BUILTIN_CPU_IS_INTEL_ATOM): New enum value. - (IX86_BUILTIN_CPU_IS_INTEL_CORE2): New enum value. - (IX86_BUILTIN_CPU_IS_INTEL_COREI7_NEHALEM): New enum value. - (IX86_BUILTIN_CPU_IS_INTEL_COREI7_WESTMERE): New enum value. - (IX86_BUILTIN_CPU_IS_INTEL_COREI7_SANDYBRIDGE): New enum value. - (IX86_BUILTIN_CPU_IS_AMDFAM10_BARCELONA): New enum value. - (IX86_BUILTIN_CPU_IS_AMDFAM10_SHANGHAI): New enum value. - (IX86_BUILTIN_CPU_IS_AMDFAM10_ISTANBUL): New enum value. - (IX86_BUILTIN_CPU_IS_AMDFAM15H_BDVER1): New enum value. - (IX86_BUILTIN_CPU_IS_AMDFAM15H_BDVER2): New enum value. - * config/i386/i386-builtin-types.def: New function type. - * testsuite/gcc.target/builtin_target.c: New testcase. - -2012-03-07 Diego Novillo - - Merge from google/main rev 184996. - -2012-02-26 Ollie Wild - - * BASE-VER: Change to 4.7.x-google. - -2012-02-23 Diego Novillo - - * BASE-VER: Change to 4.7.0-google. - * DEV-PHASE: Change to prerelease. diff --git a/gcc/ChangeLog.google-integration b/gcc/ChangeLog.google-integration deleted file mode 100644 index 6838e801816..00000000000 --- a/gcc/ChangeLog.google-integration +++ /dev/null @@ -1,216 +0,0 @@ -2012-04-23 Ollie Wild - - * c-family/c-common.c: Add CPP_W_LITERAL_SUFFIX mapping. - * c-family/c-opts.c (c_common_handle_option): Handle - OPT_Wliteral_suffix. - * c-family/c.opt: Add Wliteral-suffix. - * doc/invoke.texi (Wliteral-suffix): Document new option. - * testsuite/g++.dg/cpp0x/Wliteral-suffix.c: New test. - -2012-04-21 Ollie Wild - - * common.opt (Xclang-only): Prepend missing '=' and mark as ignored. - * gcc.c (driver_handle_option): Remove OPT_Xclang_only case. - -2012-04-18 Ollie Wild - - * common.opt (Xclang-only): New option. - * doc/invoke.texi (Xclang-only): Document new option. - * gcc.c (display_help): Print new option. - (driver_handle_option): Support new option (ignoring args). - -2012-03-02 Sharad Singhai - - Mainline merge rev 184776 until start of gcc 4.8 branch. - -2012-03-02 Ollie Wild - - * config.gcc: Add *-grtev3-* target support. - * config/i386/linux.h: Comment fixup. - * config/i386/linux64.h: Comment fixup. - * config/linux-grtev3.h: New file. - -2012-02-29 Sharad Singhai - - Mainline merge rev 184667. - -2012-01-30 Sharad Singhai - - Mainline merge rev 183497. - -2011-12-16 Sharad Singhai - - Mainline merge rev 182348. - -2011-10-25 Diego Novillo - - Mainline merge rev 180234. - -2011-10-03 Diego Novillo - - Mainline merge rev 179430. - -2011-09-21 Diego Novillo - - Mainline merge rev 178998. - -2011-09-14 Diego Novillo - - Mainline merge rev 178783. - Cherry pick mainline rev 178833. - -2011-08-24 Simon Baldwin - - Mainline cherry pick rev 178031. - - * gengtype-state.c (write_state): Remove timestamped header line. - -2011-08-17 Diego Novillo - - Mainline merge rev 177757. - - * common.opt: Add empty placeholder for -gmlt. - * opts.c (common_handle_option): Likewise. - -2011-07-16 Diego Novillo - - Mainline merge rev 175879. - -2011-07-15 Diego Novillo - - * Makefile.in (site.exp): Fix redirection in definition - of TEST_ALWAYS_FLAGS. - -2011-06-17 Chris Demetriou - - * config/arm/linux-grtev2.h: New file. - * config/arm/linux-elf.h (GLIBC_DYNAMIC_LINKER): Prefix with - RUNTIME_ROOT_PREFIX. - * config/arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER): Likewise. - * config/linux-grtev2.h (LIB_SPEC): Update comment about what - this definition overrides. - * config.gcc: Use linux-grtev2.h for arm-grtev2-linux-*eabi targets. - -2011-05-24 Simon Baldwin - - * common.opt (-Wself-assign): New placeholder flag. - -2011-04-27 Ollie Wild - - * config.gcc: Add GRTE detection. - * config/i386/linux.h (LINUX_GRTE_EXTRA_SPECS): New macro. - (SUBTARGET_EXTRA_SPECS): Add LINUX_GRTE_EXTRA_SPECS. - * config/i386/linux64.h (LINUX_GRTE_EXTRA_SPECS): New macro. - (SUBTARGET_EXTRA_SPECS): New macro with LINUX_GRTE_EXTRA_SPECS. - * config/linux-grtev2.h: New file. - -2011-03-14 Diego Novillo - - Mainline merge rev 170934 (gcc-4_6-branch). - -2011-03-08 Diego Novillo - - Mainline merge rev 170776. - -2011-03-07 Diego Novillo - - * Makefile.in (GCC_FOR_TARGET): Remove use of - $(SYSROOT_CFLAGS_FOR_TARGET). - (site.exp): Add definition of TEST_ALWAYS_FLAGS. - Remove setting of GCC_UNDER_TEST. - -2011-02-26 Diego Novillo - - Mainline merge rev 170516. - -2011-02-23 Diego Novillo - - Mainline merge rev 170439. - -2011-02-17 Simon Baldwin - - * Makefile.in: Fix incorrect "($PWD_COMMAND)" - -2011-02-11 Simon Baldwin - - * doc/install.texi: Add --disable-canonical-prefixes documentation. - * configure.ac: Add --disable-canonical-prefixes option. - * configure: Rebuild. - * config.in: Rebuild. - * gcc.c (process_command): Remove auto-detection, set default - prefix canonicalization mode from configure flag. - -2011-02-07 Simon Baldwin - - PR driver/29931 - * doc/invoke.texi: Adjust -[no-]canonical-prefixes documentation. - * gcc.c (display_help): Help text for -[no-]canonical-prefixes. - (driver_handle_option): Ignore OPT_canonical_prefixes. - (process_command): Handle OPT_[no_]canonical_prefixes, auto-detect - suitable default prefix canonicalization mode. - * common.opt (canonical-prefixes): New flag. - -2011-02-06 Diego Novillo - - * common.opt (fstrict-enum-precision): New placeholder - flag. - -2011-02-02 Diego Novillo - - Mainline merge r169512. - -2011-02-02 Diego Novillo - - * c-family/c-opts.c (c_common_finish): Emit deps even if - the file has syntax errors. - -2011-02-02 Diego Novillo - - * common.opt (Wthread-safe, Wthread-unguarded-var, - Wthread-unguarded-func, Wthread-mismatched-lock-order, - Wthread-mismatched-lock-acq-rel, Wthread-reentrant-lock, - Wthread-unsupported-lock-name): New placeholder warning flags. - -2011-02-01 Simon Baldwin - - * configure: Rebuild. - -2011-01-28 Diego Novillo - - * gcc/DATESTAMP: Remove trunk merge string. - -2011-01-28 Simon Baldwin - - * configure.ac: Add new SYSROOT_CFLAGS_FOR_TARGET variable. - * configure: Rebuild from configure.ac. - * Makefile.in: Add SYSROOT_CFLAGS_FOR_TARGET to GCC_FOR_TARGET. - -2011-01-27 Simon Baldwin - - * configure.ac: Add --with-runtime-root-prefix option. - * configure: Rebuild from configure.ac. - * Makefile.in: Support --with-runtime-root-prefix. - * doc/install.texi: Document --with-runtime-root-prefix. - * gcc/config/linux.h: Add runtime root prefix to dynamic linker path. - * gcc/config/i386/linux.h: Ditto. - * gcc/config/i386/linux64.h: Ditto. - -2011-01-26 Simon Baldwin - - * configure.ac: Add --with-native-system-header-dir option. - * configure: Rebuild from configure.ac. - * Makefile.in: Support --with-native-system-header-dir. - * doc/install.texi: Document --with-native-system-header-dir. - -2011-01-24 Diego Novillo - - Mainline merge r169172 - - * DATESTAMP: Adjust merge revision string. - * BASE-VER: Adjust version string. - -Copyright (C) 2011 Free Software Foundation, Inc. - -Copying and distribution of this file, with or without modification, -are permitted in any medium without royalty provided the copyright -notice and this notice are preserved. diff --git a/gcc/ChangeLog.google-main b/gcc/ChangeLog.google-main deleted file mode 100644 index 9ff5d64c28d..00000000000 --- a/gcc/ChangeLog.google-main +++ /dev/null @@ -1,1665 +0,0 @@ -2012-03-07 Sriraman Tallam - - * config/i386/i386.c (build_struct_with_one_bit_fields): New function. - (make_var_decl): New function. - (get_field_from_struct): New function. - (fold_builtin_target): New function. - (ix86_fold_builtin): New function. - (ix86_expand_builtin): Expand new builtins by folding them. - (make_platform_builtin): New functions. - (ix86_init_platform_type_builtins): Make the new builtins. - (ix86_init_builtins): Make new builtins to detect CPU type. - (TARGET_FOLD_BUILTIN): New macro. - (IX86_BUILTIN_CPU_SUPPORTS_CMOV): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_MMX): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_POPCOUNT): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_SSE): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_SSE2): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_SSE3): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_SSSE3): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_SSE4_1): New enum value. - (IX86_BUILTIN_CPU_SUPPORTS_SSE4_2): New enum value. - (IX86_BUILTIN_CPU_INIT): New enum value. - (IX86_BUILTIN_CPU_IS_AMD): New enum value. - (IX86_BUILTIN_CPU_IS_INTEL): New enum value. - (IX86_BUILTIN_CPU_IS_INTEL_ATOM): New enum value. - (IX86_BUILTIN_CPU_IS_INTEL_CORE2): New enum value. - (IX86_BUILTIN_CPU_IS_INTEL_COREI7_NEHALEM): New enum value. - (IX86_BUILTIN_CPU_IS_INTEL_COREI7_WESTMERE): New enum value. - (IX86_BUILTIN_CPU_IS_INTEL_COREI7_SANDYBRIDGE): New enum value. - (IX86_BUILTIN_CPU_IS_AMDFAM10_BARCELONA): New enum value. - (IX86_BUILTIN_CPU_IS_AMDFAM10_SHANGHAI): New enum value. - (IX86_BUILTIN_CPU_IS_AMDFAM10_ISTANBUL): New enum value. - (IX86_BUILTIN_CPU_IS_AMDFAM15H_BDVER1): New enum value. - (IX86_BUILTIN_CPU_IS_AMDFAM15H_BDVER2): New enum value. - * config/i386/i386-builtin-types.def: New function type. - * testsuite/gcc.target/builtin_target.c: New testcase. - -2012-03-05 Xinliang David Li - * Merged revisions 184824,184851 via svnmerge from - svn+ssh://gcc.gnu.org/svn/gcc/branches/google/integration - -2012-03-04 Xinliang David Li - - * Merged revisions 184370,184482,184682 via svnmerge from - svn+ssh://gcc.gnu.org/svn/gcc/branches/google/integration - -2012-02-14 Jing Yu - - Google ref 42402-p2 - * config/arm/arm.h: Emit GNU-stack note for all arm targets by - default. - -2012-02-13 Xinliang David Li - - * coverage.c: (process_include_paths): New function. - (process_include_paths_1): New function. - (process_include): New function. - (set_lipo_c_parsing_context): Process option -fripa-inc-path-sub= - - -2012-02-13 Xinliang David Li - - * tree-optimize.c (execute_fixup_cfg): Using double type in - scaling to avoid count overflow during out-of-line copy - fixup. (ref: google-4_6 r184162) - -2012-02-06 Dmitriy Vyukov - - Port revision 183839 from google/gcc-4_6 branch. - * tree-tsan.c: Code style changes. - -2012-02-01 Xinliang David Li - - * diagnostic.c (diagnostic_set_info_translated): - strip discriminator for location used in messages. - * loop-unroll.c (unroll_and_peel_loops): - remove exit recording which is redundant. - -2012-02-01 Dehao Chen - - * predict.c (strips_small_constant): New - (get_base_value): New - (find_ssa_name_in_assign_stmt): New - (is_comparison_with_loop_invariant_p): New - (expr_coherent_p): New - (predict_iv_comparison): New - (predict_loops): Add heuristic for loop-nested branches that compare an - induction variable to a loop bound variable. - * predict.def (PRED_LOOP_IV_COMPARE): New macro - -2012-01-31 Xinliang David Li - - * Merged revisions 183740 via svnmerge from - svn+ssh://gcc.gnu.org/svn/gcc/branches/google/integration - * Resolved merge conflicts - * Changed libgcov.c to match upstream's handling of crc - computation - -2012-01-27 Xinliang David Li - - Merged revisions 179852,180436,182413,182518 via svnmerge from - svn+ssh://gcc.gnu.org/svn/gcc/branches/google/integration. - Fixed new regressions and FDO/LIPO failures. - - -2012-01-26 Han Shen - - Add a new option "-fstack-protector-strong". - * cfgexpand.c (expand_used_vars): Add logic handling - stack-protector-strong. - (record_or_union_type_has_array): New, tests if a record or union type - contains an array. - * common.opt (fstack-protector-strong): New option. - -2012-01-25 Harshit Chopra - - Introduce a new option -mpatch-functions-for-instrumentation to - generate Nops at function prologue and epilogue for dynamic - instrumentation. - * gcc/config/i386/i386-protos.h: Added function and macro definitions - for function patch sections used globally. - * gcc/config/i386/i386.c (check_should_patch_current_function): Check - if the current function should be patched with Nops. - (ix86_output_function_prologue): Output Nops for function prologue. - (ix86_output_function_nops_prologue_epilogue): Helper function which - outputs Nops for function prologue and epilogue. - (ix86_elf_asm_named_section): Generate the name of the function patch - section. - (ix86_output_call_insn): Generate nops for sibling calls. - * gcc/config/i386/i386.md: Generate nops for returns. - * gcc/config/i386/i386.opt: Commandline options to control nops - generation for function patching. - * gcc/params.def (DEFPARAM): Define parameter to control generation - of nops based on number of instructions in a function - * gcc/testsuite/gcc.target/i386/patch-functions-1.c: New testcase - * gcc/testsuite/gcc.target/i386/patch-functions-2.c: New testcase - * gcc/testsuite/gcc.target/i386/patch-functions-3.c: New testcase - * gcc/testsuite/gcc.target/i386/patch-functions-4.c: New testcase - * gcc/testsuite/gcc.target/i386/patch-functions-5.c: New testcase - * gcc/testsuite/gcc.target/i386/patch-functions-6.c: New testcase - * gcc/testsuite/gcc.target/i386/patch-functions-7.c: New testcase - -2012-01-13 Xinliang David Li - - *ipa-inline-analysis.c (do_estimate_edge_growth): Skip fake edges. - -2012-01-12 Rong Xu - - * gcc/profile.c (compute_value_histograms): ignore the - histrogram when the counters not found in gcda file. - -2011-12-21 Rong Xu - - * gcc/profile.c (compute_value_histograms): handle the - case when INDIR_CALL counters not available in gcda files. - -2012-01-09 Sterling Augustine - - * dwarf2out.c (output_pubnames): Add check for info_section_emitted. - -2012-01-09 Dehao Chen - - * ipa-inline-transform.c (cgraph_node_opt_info): Print profile info - if available. - (dump_inline_decision): Disable einline dump at OPT_INFO_MIN. - * ipa-inline.h (is_in_ipa_inline): New variable. - * ipa-inline.c (inline_small_functions): Set the current inline phase. - -2012-01-04 Sterling Augustine - - * dwarf2out.c (add_pubname): Move conditional clause from outer to - inner if-statement. - (dwarf2out_finish): Fix conditions to output DW_AT_GNU_pubnames and - DW_AT_GNU_pubtypes. Move decision to output pubnames and pubtypes from - here... - (output_pubnames): ...to here. - (pubtypes_section_empty): Delete unused function. - -2012-01-02 Dehao Chen - - * ipa-inline.c (cgraph_node_opt_info): Print more concise info when - dumping inline decisions. - -2011-12-19 Sterling Augustine - - * dwarf2out.c (DEBUG_PUBNAMES_SECTION_LABEL, - DEBUG_PUBTYPES_SECTION_LABEL): Define. - (debug_pubnames_section_label, debug_pubtypes_section_label): - Declare. - (is_namespace_die, is_class_die): New functions. - (add_enumerator_pubname): New function. - (add_pubname): Call is_namespace_die, is_cu_die, and is_class_die in - conditional. - (add_pubtype): Call is_namespace_die. Rework name calculation. Call - type_tag, lang_hooks.dwarf_name and add_enumerator_pubname. - (output_pubnames): Output debug_pubnames_section_label or - debug_pubtypes_section_label. - (base_type_die): Call add_pubtype. - (gen_namespace_die): Call add_pubname_string and lang_hooks.dwarf_name. - (dwarf2_out_init): Generate debug_pubnames_section_label and - debug_pubtypes_section_label. - (pubtypes_section_empty): New function. - (dwarf2_out_finish): Call add_AT_lineptr if pubnames or pubtypes is - non-empty. When dealing with pubnames, change assertion to conditional. - Call pubtypes_section_empty. Likewise when dealing with pubtypes. - Move code checking for empty section to... - (pubtypes_section_empty): Here. - * target.def: Switch boolean to enable pubnames and pubtypes. - -2011-12-17 Easwaran Raman - - * common.opt (fsized-delete): New option. - -2011-12-16 Dmitriy Vyukov - - * tree-tsan.c (tsan_ignore): Add check for thunks. - -2011-12-16 Dehao Chen - - * ipa-inline-transform.c (dump_inline_decision): New function. - (cgraph_node_call_chain): New function. - (cgraph_node_opt_info): New function. - (cgraph_mark_inline_edge): Dump inline decisions to stderr. - -2011-12-14 Sriraman Tallam - - Do not vectorize loops on Core2 that need to use unaligned - vector load/stores. - * tree-vect-stmts.c (is_vector_load_store_slow): New function. - (vectorizable_load): Return false if the load - is unaligned and slow. - (vectorizable_store): Ditto. - * target.def (TARGET_SLOW_UNALIGNED_VECTOR_MEMOP): New target hook. - * doc/m.texi.in: Document new target hook: - TARGET_SLOW_UNALIGNED_VECTOR_MEMOP - * doc/m.texi: Regenerate. - * config/i386/i386.c (ix86_slow_unaligned_vector_memop): New function. - (TARGET_SLOW_UNALIGNED_VECTOR_MEMOP): New macro. - -2011-12-12 Teresa Johnson - - Limit unrolling of loops with LCP stalling instructions on Core i7 - so that they will fit into the LSD. - * loop-unroll.c (decide_unroll_constant_iterations): Call loop - unroll target hook. - * config/i386/i386.c (ix86_loop_unroll_adjust): New function. - (TARGET_LOOP_UNROLL_ADJUST): Define hook for x86. - -2011-12-09 Dmitriy Vyukov - - Fix ThreadSanitizer pass required properties. - * gcc/tree-tsan.c (pass_tsan): Replace PROP_trees with PROP_ssa. - -2011-12-05 Dmitriy Vyukov - - Fix taking address of SSA_NAME in ThreadSanitizer pass. - * gcc/tree-tsan.c (handle_expr): Add the additional check. - -2011-11-30 Dmitriy Vyukov - - Add directives to run ThreadSanitizer tests - only on i386/x86_64-*-linux targets. - * gcc/testsuite/gcc.dg/tsan-ignore.c: Add the directives. - * gcc/testsuite/gcc.dg/tsan-stack.c: Add the directives. - * gcc/testsuite/gcc.dg/tsan-mop.c: Add the directives. - -2011-11-23 Teresa Johnson - - * loop-unroll.c (loop_has_FP_comp): New function. - (limit_code_size): New function. - (unroll_and_peel_loops): Check if unrolling and/or peeling - should be disabled due to large code size estimates. - * common.opt (fripa-peel-size-limit): New option. - (fripa-unroll-size-limit): New option. - * tree-optimize.c (compute_codesize_estimate): New function. - (execute_cleanup_cfg_post_optimizing): Invoke - compute_codesize_estimate at the end of tree optimization. - * params.def (codesize-hotness-threshold): New parameter. - (unrollpeel-codesize-threshold): New parameter. - * doc/invoke.texi: Document the new options and parameters. - -2011-11-14 Dmitriy Vyukov - - Introduce a new option -ftsan which enables - ThreadSanitizer (TSan), a data race detector: - http://code.google.com/p/data-race-test/. - * gcc/Makefile.in: Add tree-tsan.c. - * gcc/common.opt: Add -ftsan, -ftsan-ignore flags. - * gcc/doc/invoke.texi: Document the new flags. - * gcc/passes.c: Add tsan pass. - * gcc/tree-pass.h: Add tsan pass. - * gcc/toplev.c (compile_file): Call tsan_finish_file. - * gcc/tree-tsan.c: New file. - * gcc/tree-tsan.h: New file. - * gcc/testsuite/gcc.dg/tsan.h: New file. - * gcc/testsuite/gcc.dg/tsan-mop.c: New file. - * gcc/testsuite/gcc.dg/tsan-stack.c: New file. - * gcc/testsuite/gcc.dg/tsan-ignore.c: New file. - * gcc/testsuite/gcc.dg/tsan-ignore.h: New file. - * gcc/testsuite/gcc.dg/tsan-ignore.ignore: New file. - -2011-11-16 Rong Xu - - * gcc/dwarf2out.c: use TYPE_CONTEXT to get the context for types. - -2011-11-07 Rong Xu - - * gcc/dwarf2out.c (dwarf2out_decl): fix mixed declarations and code. - -2011-11-07 Sharad Singhai - - * gcc.c (cc1_options): Added -fno-early-inlining for coverage. - -2011-11-04 Rong Xu - - * gcc/c-family/c-opts.c: move the notes under fopt-info. - -2011-11-04 Rong Xu - - * gcc/dwarf2out.c (dwarf2out_decl): not emit type info - for unreachable functions in LIPO mode. - -2011-10-31 Teresa Johnson - - * common.opt (fopt-info): Disable -fopt-info by default. - * loop-unroll.c (report_unroll_peel): New function. - (unroll_and_peel_loops): Call record_loop_exits for later use. - (peel_loops_completely): Print the loop source position in dump - info and emit note under -fopt-info. - (decide_unroll_and_peeling): Ditto. - (decide_peel_once_rolling): Record peel factor for use in note - emission. - (decide_peel_completely): Ditto. - * cfgloop.c (get_loop_location): New function. - * cfgloop.h (get_loop_location): Ditto. - * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Emit note - under -fopt-info. - -2011-11-02 Kostya Serebryany - - Introduce a new option -fasan which enables - AddressSanitizer, a fast memory error detector: - * gcc/Makefile.in: Add tree-asan.c. - * gcc/common.opt: Add -fasan option. - * gcc/invoke.texi: Document the new flag. - * gcc/passes.c: Add the asan pass. - * gcc/toplev.c (compile_file): Call asan_finish_file. - * gcc/tree-asan.c: New file. - * gcc/tree-asan.h: New file. - * gcc/tree-pass.h: Declare pass_asan. - -2011-10-19 Rong Xu - (1) Introduce a new option -fopt-info: - * fopt-info=0 or fno-opt-info: no message will be emitted. - * fopt-info or fopt-info=1: emit important warnings and optimization - messages with large performance impact. - * fopt-info=2: warnings and optimization messages targeting power users. - * fopt-info=3: informational messages for compiler developers. - (2) Suppress verbose notes/warnings printed in FDO-use compilation. - - * gcc/common.opt (fopt-info): New flag. (fopt-info=) Ditto. - * gcc/opts.c (common_handle_option): Handle OPT_fopt_info_. - * gcc/flag-types.h (opt_info_verbosity_levels): New enum. - * gcc/value-prof.c (check_ic_counter): guard warnings/notes by - flag_opt_info. - (find_func_by_funcdef_no): Ditto. - (check_ic_target): Ditto. - (check_counter): Ditto. - (check_ic_counter): Ditto. - * gcc/mcf.c (find_minimum_cost_flow): Ditto. - * gcc/profile.c (read_profile_edge_counts): Ditto. - (compute_branch_probabilities): Ditto. - * gcc/coverage.c (read_counts_file): Ditto. - (get_coverage_counts): Ditto. - * gcc/tree-profile.c: (gimple_gen_reusedist): Ditto. - (maybe_issue_profile_use_note): Ditto. - (optimize_reusedist): Ditto. - * gcc/testsuite/gcc.dg/pr32773.c: add -fopt-info. - * gcc/testsuite/gcc.dg/pr40209.c: Ditto. - * gcc/testsuite/gcc.dg/pr26570.c: Ditto. - * gcc/testsuite/g++.dg/tree-ssa/dom-invalid.C: Ditto. - -2011-10-17 Dehao Chen - - Add a flag (-frecord-gcc-switches-in-elf) to record compiler - command line options to .gnu.switches.text sections of - the object file. - * coverage.c (write_opts_to_asm): Write the options to - .gnu.switches.text sections. - * common.opt: Ditto. - * opts.h: Ditto. - -2011-10-04 Diego Novillo - - Merge from google/integration rev 179485. - -2011-09-22 Diego Novillo - - Merge from google/integration rev 179052. - -2011-09-20 Diego Novillo - - Merge from google/integration rev 178863. - -2011-09-15 Easwaran Raman - - * Makefile.in (PLUGIN_HEADERS): Add l-ipo.h. - -2011-09-07 Sriraman Tallam - - * mversn-dispatch.c (specialize_call): Rebuild cgraph edges after - specialization. - (clone_and_dispatch_function): Rebuild cgraph edges to compute - inline parameters. - (do_convert_builtin_dispatch): Ditto. - (convert_builtin_dispatch): Remove call to mark_syms_for_renaming - for phi nodes. - * passes.c (init_optimization_passes): Remove pass to rebuild - cgraph edges after converting __builtin_dispatch. - -2011-08-11 David Li - - * l-ipo.c (process_module_scope_static_var): Handle aliases. - (process_module_scope_static_func): New function. - -2011-08-02 David Li - - Port 53689-p2 and 53705-p2 to v15 - * libgcov.c (__gcov_merge_dc): Relax over assertion in - dc merging. - -2011-07-28 David Li - - * coverage.c (coverage_init): Remove checking of profile-use - flags. - -2011-07-26 David Li - - * value-prof.c (gimple_value_profile_transformations): Remove redundant code. - * cgraphunit.c (cgraph_mark_functions_to_output): Fix assertion in lipo mode. - * ipa-inline.c (early_inliner): Check fake edge. - * l-ipo.c (pop_module_scope): Process alias node. - (cgraph_unify_type_alias_sets): Skip empty function. - -2011-07-25 Diego Novillo - - * tree-threadsafe-analyze.c (gate_threadsafe_analyze): Always - return false. - -2011-07-21 Rong Xu - - * ipa.c (function_and_variable_visibility): In LIPO mode, call - varpool_externally_visible_p() to set the externally visible - attribute even for varpool nodes that not marked as needed. - * l-ipo.c (varpool_do_link): Merge the externally visible - attribute for varpool nodes. - -2011-07-21 Diego Novillo - - Merge from google/integration rev. 176385. - -2011-07-21 David Li - - * cgraphunit.c (cgraph_mark_functions_to_output): Fix test for - DECL_EXTERNAL. - -2011-07-21 Diego Novillo - - * Makefile.in (COLLECT2_OBJS): Add vec.o and ggc-none.o. - (GCOV_OBJS): Likewise. - (GCOV_DUMP_OBJS): Likewise. - (LTO_WRAPPER_OBJS): New. - (lto-wrapper$(exeext)): Use. - (mversn-dispatch.o): Add dependency on ipa-inline.h. - (value-prof.o): Likewise. - -2011-07-21 Diego Novillo - - * ipa-inline.c (ipa_inline): Remove extra fprintf argument. - -2011-07-21 Diego Novillo - - * coverage.c (check_pmu_profile_options): Move ... - * opts.c (check_pmu_profile_options): ... here. Make static. - * coverage.h (check_pmu_profile_options): Remove declaration. - -2011-07-21 Diego Novillo - - * tree-inline.c (tree_can_inline_p): Remove unused function. - -2011-07-21 Diego Novillo - - * c-decl.c (c_save_built_in_decl_post_parsing): Call - cgraph_get_create_node instead of cgraph_node. - * final.c (leaf_renumber_regs_insn): Likewise. - (dump_cgraph_profiles): Likewise. - (rest_of_handle_final): Likewise. - * l-ipo.c (cgraph_lipo_get_resolved_node_1): Likewise. - (cgraph_lipo_get_resolved_node): Likewise. - (promote_static_var_func): Likewise. - * mversn-dispatch.c (make_constructor_function): Likewise. - (clone_function): Likewise. - (specialize_call): Likewise. - (clone_and_dispatch_function): Likewise. - (do_convert_builtin_dispatch): Likewise. - * tree-profile.c (gimple_gen_ic_profiler): Likewise. - (gimple_gen_ic_func_profiler): Likewise. - (gimple_gen_dc_profiler): Likewise. - (gimple_gen_dc_func_profiler): Likewise. - * value-prof.c (gimple_value_profile_transformations): Likewise. - -2011-07-21 David Li - - * ipa-inline.c (better_inline_comdat_function_p): Call inline_summary. - (recursive_inlining): Add local PROBABILITY. - -2011-07-21 Diego Novillo - - * Makefile.in (ipa-inline-transform.o): Add dependency on l-ipo.h. - * ipa-inline-transform.c: Include l-ipo.h. - -2011-07-21 Diego Novillo - - * coverage.c (get_da_file_name): Use base_file_name instead of - filename. - -2011-07-21 Diego Novillo - - * cgraphbuild.c (add_fake_indirect_call_edges): Call - cgraph_get_create_node instead of cgraph_node. - (rebuild_cgraph_edges): Likewise. - -2011-07-21 David Li - - * cgraphunit.c (cgraph_mark_functions_to_output): Fix test for - DECL_EXTERNAL. - -2011-07-20 Diego Novillo - - tree.h (enum operand_equal_flag): Add values - OEP_ALLOW_NULL, OEP_ALLOW_NO_TYPE. - -2011-06-30 DeLesley Hutchins - - * tree-threadsafe-analyze.c (handle_call_gs): Fixes case where - the virtual method callee has unknown type. - -2011-06-27 Doug Kwan - - Google ref 41164-p2 - Backport upstream patch under review. - - 2011-01-19 NNick Clifton - Matthias Klose - - * configure.ac (gcc_cv_gold_srcdir): New cached variable - - contains the location of the gold sources. - (ORIGINAL_GOLD_FOR_TARGET): New substituted variable - contains - the name of the locally built gold executable. - * configure: Regenerate. - * collect2.c (main): Detect the -use-gold and -use-ld switches - and select the appropriate linker, if found. - If a linker cannot be found and collect2 is executing in - verbose mode then report the search paths examined. - * exec-tool.in: Detect the -use-gold and -use-ld switches and - select the appropriate linker, if found. - Add support for -v switch. - Report problems locating linker executable. - * gcc.c (LINK_COMMAND_SPEC): Translate -fuse-ld=gold into - -use-gold and -fuse-ld=bfd into -use-ld. - * common.opt: Add fuse-ld=gold and fuse-ld=bfd. - * opts.c (comman_handle_option): Ignore -fuse-ld=gold and - -fuse-ld=bfd. - * doc/invoke.texi: Document the new options. - -2011-06-23 Sharad Singhai - - * gcc/doc/invoke.texi: Document new pmu profile related options. - * gcc/doc/gcov.texi: Document new options -m and -q. - * gcc/gcc.c: Link libgcov for -fpmu-profile-generate option. - * gcc/gcov.c (filter_pmu_data_lines): New function. - (output_pmu_data_header): Ditto. - (output_pmu_data): Ditto. - (output_load_latency_line): Ditto. - (output_branch_mispredict_line): Ditto. - (static void process_pmu_profile): Ditto. - * gcc/gcov-io.c (gcov_canonical_filename): New function. - (gcov_read_pmu_load_latency_info): Ditto. - (gcov_read_pmu_branch_mispredict_info): Ditto. - (gcov_read_pmu_tool_header): Ditto. - (gcov_string_length): Ditto. - (convert_unsigned_to_pct): Ditto. - (print_load_latency_line): Ditto. - (print_branch_mispredict_line): Ditto. - (print_pmu_tool_header): Ditto. - (destroy_pmu_tool_header): Ditto. - (gcov_read_string): Make it unconditionally available. - * gcc/gcov-io.h (struct gcov_pmu_info): New structure. - * gcc/opts.c: New option -fpmu-profile-generate. - * gcc/pmu-profile.c (enum pmu_tool_type): New structure. - (enum pmu_event_type): Ditto. - (enum pmu_state): Ditto. - (enum cpu_vendor_signature): Ditto. - (struct pmu_tool_info): Ditto. - (get_x86cpu_vendor): New function. - (parse_pmu_profile_options): Ditto. - (start_addr2line_symbolizer): Ditto. - (reset_symbolizer_parent_pipes): Ditto. - (reset_symbolizer_child_pipes): Ditto. - (end_addr2line_symbolizer): Ditto. - (symbolize_addr2line): Ditto. - (start_pfmon_module): Ditto. - (convert_pct_to_unsigned): Ditto. - (parse_load_latency_line): Ditto. - (parse_branch_mispredict_line): Ditto. - (destroy_load_latency_infos): Ditto. - (destroy_branch_mispredict_infos): Ditto. - (parse_pfmon_load_latency): Ditto. - (parse_pfmon_tool_header): Ditto. - (parse_pfmon_branch_mispredicts): Ditto. - (pmu_start): Ditto. - (init_pmu_load_latency): Ditto. - (init_pmu_branch_mispredict): Ditto. - (init_pmu_tool): Ditto. - (__gcov_init_pmu_profiler): Ditto. - (__gcov_start_pmu_profiler): Ditto. - (__gcov_stop_pmu_profiler): Ditto. - (gcov_write_ll_line): Ditto. - (gcov_write_branch_mispredict_line): Ditto. - (gcov_write_load_latency_infos): Ditto. - (gcov_write_branch_mispredict_infos): Ditto. - (gcov_tag_pmu_tool_header_length): Ditto. - (gcov_write_tool_header): Ditto. - (__gcov_end_pmu_profiler): Ditto. - * gcc/coverage.c (get_const_string_type): New function. - (create_coverage): Do the coverage processing even if only - flag_pmu_profile_generate is specified. - (coverage_init): Call gimple_init_instrumentation_sampling from here instead - from tree-profile.c:gimple_init_edge_profiler. - (profiling_enabled_p): New function. - (init_pmu_profiling): Ditto. - (check_pmu_profile_options): Ditto. - * gcc/coverage.h (check_pmu_profile_options): Declaration. - (tree_init_instrumentation_sampling): Declaration. - * gcc/common.opt: Add new options -fpmu-profile-generate and - -fpmu-profile-use. - * gcc/tree-profile.c (gimple_init_instrumentation_sampling): Make - extern. Move the call from gimple_init_edge_profiler to - coverage.c:coverage_init. - * gcc/libgcov.c (gcov_alloc_filename) [__GCOV_KERNEL__]: Moved earlier. - (gcov_alloc_filename) [!__GCOV_KERNEL__]: Initialize gi_filename_up. - (pmu_profile_stop): New function. - (gcov_dump_module_info): Replace gcov_strip_leading_dirs with a macro. - (__gcov_init): Add initialization of PMU profiler. - (gcov_exit): Add finalization of PMU profiler. - (gcov_get_filename): Cleanup whitespaces. - * gcc/params.def: New parameter pmu_profile_n_addresses. - * gcc/gcov-dump.c (tag_pmu_load_latency_info): New function. - (tag_pmu_branch_mispredict_info): Ditto. - (tag_pmu_tool_header): Ditto. - -2011-06-22 Rong Xu - - * gcc/libgcov.c: (TARGET_VTABLE_USES_DESCRIPTORS): Remove. - -2011-06-21 Diego Novillo - - Merge from google/integration rev 175221. - -2011-06-16 Sharad Singhai - - Google Ref 39999 - - * doc/gcov.texi: Document gcov intermediate format. - * gcov.c (get_gcov_file_intermediate_name): New function. - (output_intermediate_file): New function. - -2011-06-14 Le-Chun Wu - - * tree-threadsafe-analyze.c (build_fully_qualified_lock): Handle - IPA-SRA cloned methods. - (get_canonical_lock_expr): Fold expressions that are INDIRECT_REF on - top of ADDR_EXPR. - (check_lock_required): Handle IPA-SRA cloned methods. - (check_func_lock_excluded): Likewise. - (process_function_attrs): Likewise. - -2011-06-10 David Li - - Backport 174930 - * cgraphunit.c (cgraph_finalize_compilation_unit): Pass dump. - * passes.c (passr_eq): New function. - (create_pass_tab): New function. - (pass_traverse): New function. - (dump_one_pass): New function. - (dump_pass_list): New function. - (dump_passes): New function. - -2011-06-14 David Li - - * cp/semantics.c (emit_associated_thunks): - Do not omit thunk emission for aux modules. - -2011-06-10 Rong Xu - - * gcc/tree-ssa-loop-im.c (maxmimu_lsm): New define. - (find_refs_for_sm): Limit excessive lsm. - * gcc/gcse.c (cfgloop.h): New include. - (maximum_lsm_limit): New define. - (struct loop_lsm_limit_map): Ditto. - (loop_lsm_limit_map_htab): Ditto. - (loops_lsm): Ditto. - (dominator_info_avail_before_lsm_limit): Ditto. - (compute_ld_motion_mems): Limit execssive lsm. - (find_loop_lsm_limit): New functions. - (adjust_loop_lsm_limit): Ditto. - (init_loop_lsm_limit): Ditto. - (fini_loop_lsm_limit): Ditto. - (estimate_reg_pressure_before_lsm): Ditto. - (loop_lsm_limit_map_hash): Ditto. - (loop_lsm_limit_map_eq): Ditto. - (free_loop_lsm_limit_map): Ditto. - -2011-06-09 Chris Demetriou - - * doc/install.texi (--with-warn-frame-larger-than-extra-text): New. - * configure.ac (--with-warn-frame-larger-than-extra-text): New. - (WARN_FRAME_LARGER_THAN_EXTRA_TEXT): Define. - * final.c (final_start_function): Use - WARN_FRAME_LARGER_THAN_EXTRA_TEXT. - * configure: Regenerate. - * config.in: Regenerate. - -2011-06-09 David Li - - Revert temporarily - * gcse.c (gate_rtl_cprop): Gate cleanup - (execute_rtl_cprop): Gate cleanup - -2011-06-09 David Li - - Revert temporarily - Backport trunk 174849 - * cgraphunit.c (cgraph_finalize_compilation_unit): Pass dump. - * passes.c (passr_eq): New function. - (create_pass_tab): New function. - (pass_traverse): New function. - (dump_one_pass): New function. - (dump_pass_list): New function. - (dump_passes): New function. - -2011-06-09 David Li - - * gcse.c (gate_rtl_cprop): Gate cleanup - (execute_rtl_cprop): Gate cleanup - -2011-06-09 David Li - - Backport trunk 174849 - * cgraphunit.c (cgraph_finalize_compilation_unit): Pass dump. - * passes.c (passr_eq): New function. - (create_pass_tab): New function. - (pass_traverse): New function. - (dump_one_pass): New function. - (dump_pass_list): New function. - (dump_passes): New function. - -2011-06-09 David Li - - Backport trunk 174848 - * tree-complex.c (tree_lower_complex): Gate cleanup. - * tree-stdarg.c (check_all_va_list_escapes): Ditto. - (execute_optimize_stdarg): Ditto. - * tree-eh.c (execute_lower_eh_dispatch): Ditto. - (execute_cleanup_eh_1): Ditto. - (execute_cleanup_eh): Ditto. - * gcse.c (gate_rtl_pre): Ditto. - (execute_rtl_pre): Ditto. - * except.c (finish_eh_generation): Ditto. - (convert_to_eh_region_ranges): Ditto. - * cprop.c (one_cprop_pass): Ditto. - -2011-06-08 Sriraman Tallam - - * doc/invoke.texi: document option -fcallgraph-profiles-sections. - * final.c (dump_cgraph_profiles): New function. - (rest_of_handle_final): Create new section '.note.callgraph.text' - with compiler flag -fcallgraph-profiles-sections - * common.opt: New option -fcallgraph-profiles-sections. - * params.def (DEFPARAM): New param - PARAM_NOTE_CGRAPH_SECTION_EDGE_THRESHOLD. - -2011-06-07 Mark Heffernan - - * cgraph.h (cgraph_global_info): Remove field. - * ipa-inline.c (cgraph_clone_inlined_nodes): Change - stack frame computation. - (cgraph_check_inline_limits): Change stack frame computation. - (compute_inline_parameters): Remove dead initialization. - -2011-06-07 David Li - - * tree-pretty-print.c (revision 174779) - (dump_function_header): dump module id. - -2011-06-07 David Li - - Backport trunk r174536,174537,174762,174698 - - * passes.c (enable_disable_pass): Handle assembler name. - (is_pass_explicitly_enabled_or_disabled): Ditto. - * predict.c : Change pass name - * ipa.c: Ditto. - * dce.c: Ditto. - * tree-profile.c: Ditto. - * except.c: Ditto. - * tree-pretty-print.c (dump_function_header): New function. - * final.c (rest_of_clean_state): Use header dumper. - * tree-cfg.c (gimple_dump_cfg): Use header dumper. - * passes.c (pass_init_dump_file): Use header dumper. - * tree-pretty-print.c (dump_function_header): Add flags. - Don't dump decl_uid with nouid. - * tree-pretty-print.h (dump_function_header): Adjust. - * final.c (rest_of_clean_state): Pass dump_flags on, with nouid. - * passes.c (pass_init_dump_file): Pass dump_flags on. - * tree-cfg.c (gimple_dump_cfg): Pass flags on. - -2011-06-06 Diego Novillo - - Merge from google/integration rev 174705. - -2011-06-02 Neil Vachharajani - Dehao Chen - - * gcc/doc/invoke.texi (min-mcf-cancel-iters): Document. - * gcc/mcf.c (MAX_ITER): Use new param PARAM_MIN_MCF_CANCEL_ITERS. - (edge_type): Add SINK_SOURCE_EDGE. - (dump_fixup_edge): Handle SINK_SOURCE_EDGE. - (create_fixup_graph): Make problem miminum cost circulation. - (cancel_negative_cycle): Update handling of infinite capacity. - (compute_residual_flow): Update handling of infinite capacity. - (find_max_flow): Update handling of infinite capacity. - (modify_sink_source_capacity): New function. - (find_minimum_cost_flow): Make problem miminum cost circulation. - Use param PARAM_MIN_MCF_CANCEL_ITERS. - * gcc/params.def (PARAM_MIN_MCF_CANCEL_ITERS): Define. - -2011-05-30 Xinliang David Li - - Backport trunk r174423, r174424 - * opts-global.c (handle_common_deferred_options): Handle new options. - * passes.c (register_one_dump_file): Call register_pass_name. - (execute_one_pass): Check explicit enable/disable flag. - (passr_hash): New function. - (passr_eq): Ditto. - (register_pass_name): Ditto. - (get_pass_by_name): Ditto. - (pass_hash): Ditto. - (pass_eq): Ditto. - (enable_pass): Ditto. - (disable_pass): Ditto. - (is_pass_explicitly_enabled_or_disabled): Ditto. - -2011-05-30 David Li - - * cgraphunit.c (cgraph_optimize): Remove call to static - promotion funciton. - * cp/decl2.c (cp_process_pending_declarations): Do not - remove body of __static_init functions for aux modules. - * ipa-inline.c (leaf_node_p): Filter indirect callsite - to make sure profile gen and profile use consistency - (cgraph_decide_inlining_incrementally): Remove LIPO - specific inline rule used to workaround size estimation - problem for static functions. - * tree-profile.c (tree_profiling): Do static promotion here. - * l-ipo.c (cgraph_is_aux_decl_external): Handle non-promoted - static function. - (create_unique_name): New function. - (promote_static_var_func): Do not promote non addr taken statics. - -2011-05-23 Rong Xu - - * gcc/libgcov.c (gcov_merge_gcda_file): initialize eof_pos for - every invocation. - -2011-05-21 David Li - - * function.h: Give funcdef_no 18 bits in label name. - -2011-05-18 Mark Heffernan - - * opts.c (finish_options): Increase inlining limits with profile - generate and use. - -2011-05-17 Mark Heffernan - - * ipa-inline.c (estimate_function_body_sizes): Parameterize static - function static overhead. - * params.def (PARAM_INLINE_FUNCTION_OVERHEAD_SIZE): New parameter. - -2011-05-12 Rong Xu - - * gcc/coverage.c (coverage_note_define): set is_kernel_build if building - for Linux kernel. - * gcc/tree-profile.c (is_kernel_build): New declare. - (init_ic_make_global_vars): don't emit TLS declarations for Linux kernel - builds. - (direct_call_profiling): Ditto. - * gcc/gcov-io.h (__GCOV_KERNEL__): Set if __KERNEL__ is defined. - (BTIS_PER_UNIT): Set the vaule under __GCOV_KERNEL__. - (LONG_LONG_TYPE_SIZE): Ditto. - (_GCOV_FILE, _GCOV_fclose, _GCOV_ftell, _GCOV_fseek, _GCOV_ftruncate, - _GCOV_fread, _GCOV_fwrite, _GCOV_fread, _GCOV_fileno): Wrapper macros. - (gcov_kernel_vfile): New type declare under __GCOV_KERNEL__. - (gcc_assert): New function under __GCOV_KERNEL__. - (gcov_var): Move the definition to gcov-io.c under __GCOV_KERNEL__. - (gcov_rewrite): Change fseek to _GCOV_fseek. - * gcc/gcov-io.c (gcov_var): Add declare under __GCOV_KERNEL__. - (gcov_open): New implementation under __GCOV_KERNEL__. - (gcov_sync): Ditto. - (gcov_truncate): Ditto. - (gcov_close): Replace calls to libc functions to macros. - (gcov_write_block): Ditto. - (gcov_read_words): Ditto. - (gcov_sync): Ditto. - (gcov_seek): Ditto. - (kernel_file_fclose): New functions under __GCOV_KERNEL__. - (kernel_file_ftell): Ditto. - (kernel_file_fseek): Ditto. - (kernel_file_ftruncate): Ditto. - (kernel_file_fread): Ditto. - (kernel_file_fwrite): Ditto. - (kernel_file_fileno): Ditto. - * gcc/libgcov.c (L_gcov, L_gcov_interval_profiler, - L_gcov_pow2_profiler, L_gcov_one_value_profiler, - L_gcov_indirect_call_profiler, L_gcov_average_profiler, - L_gcov_ior_profiler, TARGET_VTABLE_USES_DESCRIPTORS, - HAVE_CC_TLS, __GCOV_KERNEL__, IN_LIBGCOV, IN_GCOV): Set the value - under __KERNEL__ for Linux kernel FDO build support. - (tconfig.h, tsystem.h, coretypes.h, tm.h): Do not inlude for kernel - builds (i.e. include under #ifndef __KERNELL__). - (string.h, fcntl.h, errno,h, sys/stat.h) Ditto. - (gcov_error): New function for error reporting. - (all, this_program, this_object, program, object, summary_pos, - eof_pos, gcov_prefix_strip, prefix_length - gi_filename, gi_filename_up): New declares. - (gcov_exit): Refactored. - (gcov_open_by_filename): New function. - (gcov_counter_active): Ditto. - (gcov_alloc_filename): Ditto. - (gcov_dump_module_info): Ditto. - (gcov_counter_array): Ditto. - (gcov_object_summary): Ditto. - (gcov_merge_gcda_file): Ditto. - (gcov_compute_fi_stride): Ditto. - (gcov_gcda_file_size): Ditto. - (gcov_write_gcda_file): Ditto. - (gcov_exit_init): Ditto. - (gcov_dump_one_gcov): Ditto. - (gcov_get_filename): New implementation under __GCOV_KERNEL__. - (gcov_sort_icall_topn_counter): Ditto. - (gcov_alloc_filename): Ditto. - (gcov_current_file): Ditto. - (gcov_set_vfile): Ditto. - (gcov_kernel_dump_one_gcov): Ditto. - (__gcov_merge_add): New dummy functions under __GCOV_KERNEL__. - (__gcov_merge_single): Ditto. - (__gcov_merge_delta): Ditto. - (__gcov_merge_ior): Ditto. - (__gcov_merge_icall_topn): Ditto. - (__gcov_merge_dc): Ditto. - (__gcov_merge_reusedist): Ditto. - (__gcov_merge_add): Export kernel symbol under __GCOV_KERNEL__. - (__gcov_merge_single): Ditto. - (__gcov_merge_delta): Ditto. - (__gcov_merge_ior): Ditto. - (__gcov_merge_icall_topn): Ditto. - (__gcov_merge_dc): Ditto. - (__gcov_merge_reusedist): Ditto. - (__gcov_average_profiler): Ditto. - (__gcov_indirect_call_profiler): Ditto. - (__gcov_interval_profiler): Ditto. - (__gcov_ior_profiler): Ditto. - (__gcov_one_value_profiler): Ditto. - (__gcov_pow2_profiler): Ditto. - -2011-05-10 David Li - - * cgraphunit.c (verify_cgraph_node): Disable checking - in LIPO mode temporarily. - (cgraph_mark_functions_to_output): Ditto. - * tree-cfg.c (verify_stmt): Ditto. - -2011-05-06 David Li - - Revert r173158. - * doc/invoke.texi (fno-strict-enum-precision): Document. - * gimplify.c (gimplify_switch_expr): If - -fno-strict-enum-precision is given, do not consider enum - types. - * tree-vrp.c (stmt_interesting_for_vrp): If - -fno-strict-enum-precision is given, do not look at enum - types. - -2011-05-09 Silvius Rus - - * value-prof.c (interesting_stringop_to_profile_p): Disbale - stringop profiling if reuse distance profiling is turned on. - * value-prof.h (gimple_gen_reusedist, optimize_reusedist): Declare. - * gcov-io.h: (GCOV_COUNTER_REUSE_DIST): New counter. - (GCOV_COUNTERS): Update. - (GCOV_COUNTER_NAMES): Add reuse_distance. - (GCOV_MERGE_FUNCTIONS): Add __gcov_merge_reusedist. - (__gcov_merge_reusedist): New declaration. - * profile.c (branch_prob): Enable reuse distance profiling and - optimization. - * common.opt (fprofile-reusedist, foptimize-locality): New options. - * tree-profile.c: Include params.h. - (stringop_subst, reusedist_t): New structures. - (stringop_subst_t, reusedist_t): New typedefs. - (stringop_decl): New global array. - (RD_NUM_COUNTERS): New constant. - (get_stringop_subst, reusedist_is_interesting_call) - (reusedist_instr_func_name, reusedist_get_instr_decl) - (reusedist_make_instr_call, reusedist_from_counters) - (gimple_gen_reusedist, nt_op_name, reusedist_get_size_threshold) - (reusedist_get_distance_large_threshold) - (reusedist_get_distance_small_threshold) - (reusedist_get_count_threshold, reusedist_nt_is_worth_it) - (reusedist_get_nt_decl, maybe_issue_profile_use_note) - (reusedist_maybe_replace_with_nt_version, optimize_reusedist): New - functions. - (gate_tree_profile_ipa): Return true if reuse distance instrumentation - or use is turned on. - * Makefile.in (LIBGCOV): Add _gcov_merge_reusedist. - * libgcov.c (__gcov_weighted_mean2, __gcov_merge_reusedist): New - functions. - * params.def (PARAM_REUSEDIST_MEAN_DIST_LARGE_THRESH) - (PARAM_REUSEDIST_MEAN_DIST_SMALL_THRESH) - (PARAM_REUSEDIST_CALL_COUNT_THRESH, PARAM_REUSEDIST_MEMCPY_SIZE_THRESH) - (PARAM_REUSEDIST_MEMSET_SIZE_THRESH): New params. - -2011-05-06 Lawrence Crowl - - * timevar.h (timevar_cond_start): Remove unused POP_TIMEVAR_AND_RETURN. - (timevar_cond_start): New for starting a timer only when it is not - already running. - (timevar_cond_stop): New for stopping a timer when it was not already - running. - - * timevar.c (timevar_stop): Enable start/stop timers to start again. - (timevar_cond_start): New as above. - (timevar_cond_stop): New as above. - - * timevar.def: Add start/stop timers for compiler phases, - TV_PHASE_SETUP, TV_PHASE_PARSING, TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, - TV_PHASE_DBGINFO (C), TV_PHASE_CHECK_DBGINFO (C++), TV_PHASE_GENERATE, - and TV_PHASE_FINALIZE. - Change push/pop timer TV_PARSE to TV_PARSE_GLOBAL. - Add push/pop timers TV_PARSE_STRUCT, TV_PARSE_ENUM, TV_PARSE_FUNC, - TV_PARSE_INLINE, TV_PARSE_INMETH, TV_TEMPLATE_INST. - Change push/pop timer TV_NAME_LOOKUP into a start/stop timer. - Make unused TV_OVERLOAD into a start/stop timer. - - Remove unused timers TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION. - Mark the strings for TV_NAME_LOOKUP and TV_OVERLOAD with a "|" - to indicate that they are start/stop timers. - - * toplev.c (compile_file): Change TV_PARSE to TV_PARSE_GLOBAL. - Add start/stop timers TV_PHASE_PARSING and TV_PHASE_GENERATE. - Move initialization to do_compile. - (do_compile): Add initialization from above. - Add start/stop timers TV_PHASE_SETUP and TV_PHASE_FINALIZE. - - * c-decl.c (c_write_global_declarations): Add start/stop of - TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, TV_PHASE_DBGINFO. - - * c-parser.c (c_parser_declaration_or_fndef): Push/pop TV_PARSE_FUNC - or TV_PARSE_INLINE, as appropriate. - (c_parser_enum_specifier): Push/pop TV_PARSE_ENUM. - (c_parser_struct_or_union_specifier): Push/pop TV_PARSE_STRUCT. - -2011-05-06 Easwaran Raman - - Backport r172837: - - * cfgexpand.c (stack_var): Remove OFFSET... - (add_stack_var): ...and its reference here... - (expand_stack_vars): ...and here. - (stack_var_cmp): Sort by descending order of size. - (partition_stack_vars): Change heuristic. - (union_stack_vars): Fix to reflect changes in - partition_stack_vars. - (dump_stack_var_partition): Add newline after each partition. - -2011-05-06 Easwaran Raman - - Backport r172788: - - * cfgexpand.c (add_alias_set_conflicts): Add conflicts with a variable - containing union type only with -fstrict-aliasing. - -2011-05-04 David Li - - * coverage.c (incompatible_cl_args): Better handling - of option mismatch. - - -2011-05-04 Sriraman Tallam - - * tree-pass.h (pass_tree_convert_builtin_dispatch): New pass. - (pass_ipa_multiversion_dispatch): New pass. - * builtin-types.def (BT_PTR_FN_INT): New pointer type. - (BT_FN_INT_PTR_FN_INT_PTR_PTR_VAR): New function type for __builtin_dispatch. - * builtins.def (BUILT_IN_DISPATCH): New builtin to - support multi-version calls. - * mversn-dispatch.c: New file. - * timevar.def (TV_MVERSN_DISPATCH): New time var. - * common.opt (fclone-hot-version-paths): New flag. - * Makefile.in (mversn-dispatch.o): New rule. - * passes.c (init_optimization_passes): Add the new - multi-version and dispatch passes to the pass list. - * params.def (PARAM_NUMBER_OF_MVERSN_CLONES): Define. - (PARAM_MVERSN_CLONE_CGRAPH_DEPTH): Define. - * doc/invoke.texi (mversn-clone-depth): Document. - (num-mversn-clones): Document. - (fclone-hot-version-paths): Document. - -2011-05-04 Silvius Rus - - * doc/invoke.texi: Document -fprofile-generate-sampling option. - * gcov-io.h (__gcov_set_sampling_rate): New declaration. - * profile.c (branch_prob): Add support for sampled profile - collection. - * profile.h (add_sampling_to_edge_counters): New declaration. - * common.opt (fprofile-generate-sampling): New option. - * tree-profile: Include header files; define EDGE_COUNTER_STMT_COUNT. - (instrumentation_to_be_sampled, gcov_sample_counter_decl) - (gcov_sampling_rate_decl): New globals. - (insert_if_then, add_sampling_wrapper, is_instrumentation_to_be_sampled) - (add_sampling_to_edge_counters, gimple_init_instrumentation_sampling): - New functions. - (gimple_init_edge_profiler): Call gimple_init_instrumentation_sampling. - (gimple_gen_edge_profiler): Mark start of instrumentation block. - * libgcov.c (__gcov_sampling_rate): New extern declaration. - (gcov_sampling_rate_initialized, __gcov_sample_counter): New globals. - (gcov_exit): Set sampling rate; minor coding style fixes. - (__gcov_init): Initialize __gcov_sampling_rate. - * params.def (PARAM_PROFILE_GENERATE_SAMPLING_RATE): New parameter. - -2011-05-03 David Li - - Backport r173177: - - * tree-profile.c (init_ic_make_global_vars): Set - tls attribute on ic vars. - * coverage.c (coverage_end_function): Initialize - function_list with zero. - -2011-05-03 David Li - - Backport r173147: - - * tree.c (crc32_string): Use crc32_byte. - (crc32_byte): New function. - * tree.h (crc32_byte): New function. - * gcov.c (read_graph_file): Handle new cfg_cksum. - (read_count_file): Ditto. - * profile.c (instrument_values): Ditto. - (get_exec_counts): Ditto. - (read_profile_edge_counts): Ditto. - (compute_branch_probabilities): Ditto. - (compute_value_histograms): Ditto. - (branch_prob): Ditto. - (end_branch_prob): Ditto. - * coverage.c (read_counts_file): Ditto. - (get_coverage_counts): Ditto. - (tree_coverage_counter_addr): Ditto. - (coverage_checksum_string): Ditto. - (coverage_begin_output): Ditto. - (coverage_end_function): Ditto. - (build_fn_info_type): Ditto. - (build_fn_info_value): Ditto. - * libgcov.c (gcov_exit): Ditto. - * gcov-dump.c (tag_function): Ditto. - (compute_checksum): Remove. - -2011-05-03 David Li - - * l-ipo.c (promote_static_var_or_func): Keep initializer - for externalized aux module variables. - (process_module_scope_static_var): Keep initializer - for promoted static vars to allow ccp. - -2011-05-02 Sriraman Tallam - - Revert : - - 2011-05-02 Sriraman Tallam - - * c-family/c-common.c (revision 173122) (handle_version_selector_attribute): New function. - (c_common_attribute_table): New attribute "version_selector". - * tree-pass.h (revision 173122) (pass_tree_convert_builtin_dispatch): New pass. - (pass_ipa_multiversion_dispatch): New pass. - * testsuite/gcc.dg/mversn7.c (revision 0): New test case. - * testsuite/gcc.dg/mversn4.c (revision 0): New test case. - * testsuite/gcc.dg/mversn4.h (revision 0): New test case. - * testsuite/gcc.dg/mversn4a.c (revision 0): New test case. - * testsuite/gcc.dg/torture/mversn1.c (revision 0): New test case. - * testsuite/gcc.dg/mversn2.c (revision 0): New test case. - * testsuite/gcc.dg/mversn6.c (revision 0): New test case. - * testsuite/gcc.dg/mversn3.c (revision 0): New test case. - * testsuite/g++.dg/mversn8.C (revision 0): New test case. - * testsuite/g++.dg/mversn10a.C (revision 0): New test case. - * testsuite/g++.dg/mversn14a.C (revision 0): New test case. - * testsuite/g++.dg/tree-prof/mversn13.C (revision 0): New test case. - * testsuite/g++.dg/tree-prof/mversn15.C (revision 0): New test case. - * testsuite/g++.dg/tree-prof/mversn15a.C (revision 0): New test case. - * testsuite/g++.dg/mversn9.C (revision 0): New test case. - * testsuite/g++.dg/mversn10.C (revision 0): New test case. - * testsuite/g++.dg/mversn12.C (revision 0): New test case. - * testsuite/g++.dg/mversn14.C (revision 0): New test case. - * testsuite/g++.dg/mversn16.C (revision 0): New test case. - * testsuite/g++.dg/torture/mversn11.C (revision 0): New test case. - * testsuite/g++.dg/torture/mversn5.C (revision 0): New test case. - * testsuite/g++.dg/torture/mversn5.h (revision 0): New test case. - * testsuite/g++.dg/torture/mversn5a.C (revision 0): New test case. - * builtin-types.def (revision 173122) (BT_PTR_FN_INT): New pointer type. - (BT_FN_INT_PTR_FN_INT_PTR_PTR_VAR): New function type for __builtin_dispatch. - * builtins.def (revision 173122) (BUILT_IN_DISPATCH): New builtin to - support multi-version calls. - * mversn-dispatch.c (revision 0): New file. - * timevar.def (revision 173122) (TV_MVERSN_DISPATCH): New time var. - * common.opt (revision 173122) (fclone-hot-version-paths): New flag. - * Makefile.in (revision 173122) (mversn-dispatch.o): New rule. - * passes.c (revision 173122) (init_optimization_passes): Add the new - multi-version and dispatch passes to the pass list. - * params.def (revision 173122) (PARAM_NUMBER_OF_MVERSN_CLONES): Define. - (PARAM_MVERSN_CLONE_CGRAPH_DEPTH): Define. - * doc/invoke.texi (revision 173122) (mversn-clone-depth): Document. - (num-mversn-clones): Document. - (fclone-hot-version-paths): Document. - -2011-05-02 Diego Novillo - - Merge from google/integration rev 173255. - -2011-05-02 Chris Demetriou - - * config/i386/i386.c (get_pc_thunk_name): Make 32-bit - thunk prefix be __x86.get_pc_thunk. - -2011-05-01 David Li - - * l-ipo.c (clear_module_scope_bindings): Clear name binding for - assembler name. - (pop_module_scope): Clear name bindings for the last module. - (lipo_cmp_type): Handle template arg type. - -2011-04-30 Guozhi Wei - - PR target/43129 - * hooks.c (hook_rtx_void_null): New function. - * hooks.h (hook_rtx_void_null): New prototype. - * target.def (got_access): New hook vector declaration. - * tree-pass.h (pass_simplify_got): New pass. - * timevar.def (TV_SIMPLIFY_GOT): New TV id. - * simplify-got.c: New source file. - * Makefile.in (simplify-got.o): Add a new file. - * passes.c (init_optimization_passes): Add a new pass. - * config/arm/arm.c (arm_output_addr_const_extra): Output GOT_PREL - relocation. - (arm_get_pic_reg): New function. - (arm_clear_pic_reg): New function. - (arm_can_simplify_got_access): New function. - (arm_loaded_global_var): New function. - (arm_load_global_address): New function. - * config/arm/arm.md (UNSPEC_GOT_PREL_SYM): New UNSPEC symbol. - -2011-04-29 Cary Coutant - - * common.opt (generate_debug_line_table): New global var. - (gmlt): New option - * dwarf2out.c (GENERATE_MINIMUM_LINE_TABLE): New macro. - (add_pubname_string): Test for -gmlt. - (add_pubname): Likewise. - (add_src_coords_attributes): Likewise. - (decls_for_scope): Likewise. - (dwarf2out_source_line): Likewise. - (dwarf2out_finish): Likewise. - * opts.c (finish_options): Force debug info to at least level 1 - if -gmlt specified. - (common_handle_option): Add OPT_gmlt. - (set_debug_level): Set generate_debug_line_table flag. - * tree-ssa-live.c (remove_unused_scope_block_p): Test for -gmlt. - - * doc/invoke.texi (-gmlt): New options - -2011-04-29 Cary Coutant - - * basic-block.h (struct basic_block_def): Remove discriminator field. - * cfghooks.c (split_block): Remove discriminator field. - * cfglayout.c (insn_discriminator): New function. - * final.c (discriminator): Remove. - (override_discriminator): New file-scope variable. - (final_start_function): Remove tracking of discriminator by basic - block. - (final_scan_insn): Track discriminator by instruction. - (notice_source_line): Check for discriminator override. Get - discriminator from instruction. - * gimple-pretty-print.c (dump_gimple_stmt): Print discriminator. - (dump_bb_header): Don't print discriminator. - * input.c: Include vecprim.h. - (discriminator_location_locations): New variable. - (discriminator_location_discriminators): New variable. - (min_discriminator_location): New variable. - (expand_location): Use map_discriminator_location. - (location_with_discriminator): New function. - (has_discriminator): New function. - (map_discriminator_location): New function. - (get_discriminator_from_locus): New function. - * input.h (location_with_discriminator): New function. - (has_discriminator): New function. - (map_discriminator_location): New function. - (get_discriminator_from_locus): New function. - * print-rtl.c (print_rtx): Print discriminator. - * rtl.h (insn_discriminator): New function. - * tree-cfg.c: Include input.h. - (assign_discriminator): Assign discriminators to instructions rather - than to the basic block. - * tree-pretty-print.c (dump_location): Print discriminator. - -2011-04-28 Sharad Singhai - - * params.def: Add new parameters to control peeling. - * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use - different peeling parameters when profile feedback is available. - * loop-unroll.c (decide_peel_once_rolling): Ditto. - (decide_peel_completely): Ditto. - * doc/invoke.texi: Document new peeling parameters. - -2011-04-28 Sharad Singhai - - Google Ref 40087 - - * opts.c (common_handle_option): Disable -ftracer for profile use. - * doc/invoke.texi: Update doc that -ftracer is no longer - enabled for FDO. - -2011-04-28 Xinliang David Li - - * final.c (profile_function): Use FUNC_LABEL_ID. - * dwarf2out.c (dwarf2out_vms_end_prologue): Ditto. - (dwarf2out_vms_begin_epilogue): Ditto. - (dwarf2out_vms_debug_main_pointer): Ditto. - * cgraphunit.c (cgraph_finalize_compilation_unit): - Remove eq type alias set computation. - * tree-profile.c (gimple_gen_ic_func_topn_profiler): Do not skip any functions. - (tree_profiling): Add type alias merging. - * l-ipo.c (restore_post_parsing_states): Use max funcdef_no. - (pop_module_scope): Use max funcdef_no. - * gcov-dump.c (tag_function): Fix a bug in function read. - -2011-04-27 Xinliang David Li - - * value-prof.c (init_node_map): Disable for lipo mode. - (del_node_map): Disable for lipo mode. - -2011-04-27 Le-Chun Wu - - Google ref 42718. - - * doc/extend.texi (Wnonnull): Add documentation for C++. - * doc/invoke.texi (Wnonnull): Add documentation for C++. - -2011-04-27 Le-Chun Wu - - * opts.c (common_handle_option): Do not enable Wshadow-local - nor Wshadow-compatible-local if Wshadow is disabled. - -2011-04-27 Le-Chun Wu - - Google ref 39127. - - * c-decl.c (warn_if_shadowing): Use the warning code corresponding - to the given -Wshadow- variant. - * common.opt (Wshadow-local): New option. - (Wshadow-compatible-local): New option. - * invoke.texi: Document Wshadow-local and Wshadow-compatible-local. - * opts.c (common_handle_option): Handle OPT_Wshadow and - OPT_Wshadow_local. - -2011-04-27 Silvius Rus - - Google ref 39984. - - * doc/invoke.texi (fno-strict-enum-precision): Document. - * gimplify.c (gimplify_switch_expr): If - -fno-strict-enum-precision is given, do not consider enum - types. - * tree-vrp.c (stmt_interesting_for_vrp): If - -fno-strict-enum-precision is given, do not look at enum - types. - -2011-04-26 Xinliang David Li - - * tree-ssa-uninit.c (warn_uninitialized_phi): Pass - warning code. - * opts.c (common_handle_option): Ditto. - * common.opt: New option. - * tree-ssa.c (warn_uninit): Add one more parameter. - (warn_uninitialized_var): Pass warning code. - * tree-flow.h: Interface change. - -2011-04-26 Xinliang David Li - - * toplev.c (process_options): Enable -Werror=coverage-mismatch - by default when -Wno-error is not specified. - * opts-global.c (decode_options): Remove call to - control_warning_options. - -2011-04-26 Xinliang David Li - - * cgraph.h: Remove pid. - * cgraph.c: Remove pid. - * value-prof.c (init_node_map): New function. - (del_node_map): New function. - (find_func_by_funcdef_no): New function. - (gimple_ic_transform): Call new function. - * cgraphunit.c (cgraph_finalize_function): Remove pid. - * function.c (get_last_funcdef_no): New function. - * function.h (get_last_funcdef_no): New function. - * tree-profile.c (gimple_gen_ic_func_profiler): Pass funcdef_no - to libgcov function. - (tree-profiling): Call node map init and delete function. - -2011-04-26 Le-Chun Wu - - * common.opt: New option. - * doc/invoke.texi: Documentation for new options. - * fold-const.c (operand_equal_p): Allow operands without typres to - compare. - (fold_unary_loc_1): Renamed from fold_unary_loc. - (fold_unary_loc): New wrapper function. - (fold_binary_loc_1): Renamed from fold_binary_loc. - (fold_binary_loc): New wrapper function. - (fold_ternary_loc_1): Renamed from fold_ternary_loc. - (fold_ternary_loc): New wrapper function. - * tree.h (struct tree_base): New flag for folded expr. - (enum operand_equal_flag): New flags. - -2011-04-25 David Li - - * cgraphbuild.c (rebuild_cgraph_edges): Create edges based - using resolved nodes in LIPO mode after ipa_tree_profiling. - * dyn-ipa.c: New file. - * dbgcnt.def: New debug counters. - * cgraph.c (cgraph_mark_reachable_node): Handle aux module nodes. - (cgraph_clone_node): New field initialization. - (cgraph_create_virtual_clone): New field initialization. - * value-prof.c (dump_histogram_value): New hist kind. - (check_counter): New function. - (gimple_value_profile_transformations): New ic kind. - (gimple_ic_transform): Changed interface. - (gimple_indirect_call_to_profile): New vpt kind. - (gimple_find_values_to_profile): New vpt kind. - * cgraphunit.c (cgraph_finalize_function): Handle LIPO mode. - (verify_edge_count_and_frequency): Ditto. - (verify_cgraph_node): Ditto. - (cgraph_finalize_compilation_unit): Ditto. - (cgraph_mark_functions_to_output): Ditto. - (cgraph_expand_function): Ditto. - (cgraph_output_in_order): Ditto. - (cgraph_optimize): Ditto. - (cgraph_copy_node_for_versioning): Ditto. - (cgraph_materialize_clone): Ditto. - (cgraph_redirect_edge_call_stmt_to_callee): Ditto. - * gcov-io.c (gcov_read_summary): Ditto. - * tree-ssa-alias.c (same_type_for_tbaa): Ditto. - (refs_may_alias_p_1): Ditto. - (walk_aliased_vdefs): Ditto. - * ipa-inline.c (cgraph_mark_inline_edge): Ditto. - (cgraph_recursive_inlining_p): Ditto. - (cgraph_edge_badness): Ditto. - (update_caller_keys): Ditto. - (cgraph_decide_recursive_inlining): Ditto. - (cgraph_decide_inlining_of_small_function): Ditto. - (cgraph_decide_inlining): Ditto. - (cgraph_decide_inlining_incrementally): Ditto. - (estimate_function_body_sizes): Ditto. - * dwarf2out.c (dwarf2out_do_cfi_startproc): Ditto. - (dwarf2out_begin_prologue): Ditto. - (dwarf2out_end_epilogue): Ditto. - (dw_loc_list): Ditto. - (gen_subprogram_die): Ditto. - (dwarf2out_source_line): Ditto. - * c-decl.c (bind): Ditto. - (pop_scope): Ditto. Ditto. - (push_file_scope): Ditto. - (pop_file_scope): Ditto. - (finish_decl): Ditto. - (c_write_global_declarations): Ditto. - * langhooks.c (lhd_do_nothing_f): Ditto. - (lhd_do_nothing_t_t_return_null_tree): Ditto. - (lhd_return_null_tree_v): Ditto. - (lhd_builtin_function): Ditto. - * function.c (pop_cfun): Ditto. - (allocate_struct_function): Ditto. - * profile.c (instrument_values): Ditto. - (is_edge_inconsistent): Ditto. - * ipa.c (process_references): Ditto. - (cgraph_remove_unreachable_nodes): Ditto. - (function_and_variable_visibility): - * c-typeck.c (tagged_types_tu_compatible_p): Ditto. - * gimplify.c (gimplify_addr_expr): Ditto. - * except.c (sjlj_emit_function_enter): Ditto. - (output_one_function_exception_table): Ditto. - * coverage.c (get_gcov_type): Ditto. - (htab_counts_entry_del): Ditto. - (read_counts_file): Ditto. - (get_coverage_counts): Ditto. - (coverage_checksum_string): Ditto. - (coverage_begin_output): Ditto. - (coverage_end_function): Ditto. - (build_fn_info_type): Ditto. - (build_fn_info_value): Ditto. - (build_ctr_info_value): Ditto. - (build_gcov_info): Ditto. - (create_coverage): Ditto. - (coverage_finish): Ditto. - * tree-sra.c (convert_callers): Ditto. - (modify_function): Ditto. - (ipa_early_sra): Ditto. - * varasm.c (notice_global_symbol): Ditto. - (assemble_external): Ditto. - (mark_decl_referenced): Ditto. - (find_decl_and_mark_needed): Ditto. - (finish_aliases_1): Ditto. - (assemble_alias): Ditto. - * tree-ssa.c (useless_type_conversion_p): Ditto. - * tree-inline.c (copy_bb): Ditto. - (copy_edges_for_bb): Ditto. - (initialize_cfun): Ditto. - (copy_cfg_body): Ditto. - (tree_inlinable_function_p): Ditto. - (optimize_inline_calls): Ditto. - (copy_tree_r): Ditto. - * tree-profile.c (init_ic_make_global_vars): Ditto. - (gimple_init_edge_profiler): Ditto. - (gimple_gen_ic_profiler): Ditto. - (gimple_gen_ic_func_profiler): Ditto. - (tree_profiling): Ditto. - * opts-global.c (lang_handle_option): Ditto. - (add_input_filename): Ditto. - (read_cmdline_options): Ditto. - * l-ipo.c: Ditto. - * libgcov.c (gcov_version): Ditto. - (gcov_exit): Ditto. - (__gcov_init): Ditto. - (__gcov_flush): Ditto. - (__gcov_merge_ior): Ditto. - (__gcov_one_value_profiler_body): Ditto. - (__gcov_indirect_call_profiler): Ditto. - * l-ipo.h: Ditto. - * tree-cfg.c: (verify_types_in_gimple_reference): Ditto. - (verify_gimple_call): Ditto. - (verify_gimple_assign_single): Ditto. - (verify_gimple_return): Ditto. - (gimple_verify_flow_info): Ditto. - * passes.c: (rest_of_decl_compilation): Ditto. - (init_optimization_passes): Ditto. - (pass_init_dump_file): Ditto. - * varpool.c (varpool_node): Ditto. - (debug_varpool): Ditto. - (varpool_node_for_asm): Ditto. - (varpool_enqueue_needed_node): Ditto. - * stmt.c (expand_asm_operands): Ditto. - * gcov-dump.c (main): Ditto. - (print_usage): Ditto. - (print_prefix): Ditto. - (dump_file): Ditto. - (tag_summary): Ditto. - -2011-04-19 Guozhi Wei - - * config/arm/arm.c (SHORTEST_FAR_JUMP_LENGTH): New constant. - (estimate_function_length): New function. - (thumb_far_jump_used_p): No far jump is needed in short function. - -2011-04-20 Easwaran Raman - - * gcc.c (asm_options): Pass --save-temps to assembler. - -2011-04-19 Martin Thuresson - - * libgcov.c (gcov_version): Do not access filename in struct - generated from different version. - -2011-04-19 Xinliang David Li - - * ipa-inline.c (cgraph_decide_recursive_inlining): Fix - div by zero error with insane profile. - -2011-04-17 Diego Novillo - - Merge from google/integration rev 172609. - -2011-04-11 Xinliang David Li - - * value-profile.c (check_ic_target): New function. - (gimple_ic_transform): Sanity check indirect call target. - * gimple-low.c (gimple_check_call_args): Interface change. - (gimple_check_call_matching_types): New function. - * tree-inline.c (tree_can_inline_p): Call new function. - -2011-04-08 Xinliang David Li - - * ipa-cp.c (ipcp_update_profiling): Correct - negative scale factor due to insane profile data. - -2011-04-08 Xinliang David Li - - * final.c (dump_basic_block_info): New function. - (final): Dump basic block. - (final_scan_insn): Remove old dump. - -2011-03-29 Le-Chun Wu - - Merge from branches/annotalysis at r171529. - - Port annotalysis (lock annotations and analysis) from GCC-4.4.3 to - GCC-4.6 tree. - -2011-03-28 Martin Thuresson - - * doc/invoke.texi: Document support for relative profile paths. - * libgcov.c (gcov_exit): Support relative profile paths. - -2011-03-15 Diego Novillo - - Merge from google/integration rev 170988 (gcc-4_6-branch). - -2011-03-14 Diego Novillo - - Merge from google/integration rev 170957. - -2011-02-26 Diego Novillo - - Merge from google/integration rev 170499. - -2011-02-07 Diego Novillo - - Merge from google/integration. - -2011-02-04 Diego Novillo - - Merge from google/integration. - - * BASE-VER: Fix. - -Copyright (C) 2011 Free Software Foundation, Inc. - -Copying and distribution of this file, with or without modification, -are permitted in any medium without royalty provided the copyright -notice and this notice are preserved. diff --git a/gcc/c-family/ChangeLog.google-4_7 b/gcc/c-family/ChangeLog.google-4_7 deleted file mode 100644 index 6aeb5435ee1..00000000000 --- a/gcc/c-family/ChangeLog.google-4_7 +++ /dev/null @@ -1,38 +0,0 @@ -2012-09-27 Dehao Chen - - Backport from trunk r191494, r191510, r191614, r191669, r191680, - r191706, r191747, r191759, r191779 and r191810: - - * c-family/c-pch.c (c_common_read_pch): Rebuild the location_adhoc_data - map when read in the pch. - -2012-07-24 Cary Coutant - - Backport Fission patches from trunk at r188195, r188857, r189084, - r189094, and r189392. - - 2012-06-04 Sterling Augustine - - * c-pretty-print.h (pp_c_flag_gnu_v3): New enumerator. - * c-pretty-print.c (pp_c_specifier_qualifier_list): Check - it at both the start and end of the function. - -2012-06-15 Cary Coutant - - Revert Fission patches r182490, r182891, r183042, and r183320. - This will clear the way to backport the final patches from trunk. - - r182490: - - 2011-12-19 Sterling Augustine - - * c-pretty-print.c (pp_c_specifier_qualifier_list): Move conditional - from beginning to end. - -2012-03-13 Easwaran Raman - - Backport r185349 from google/main - - * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_DELETE_WITH_SIZE__ for - C++ files compiled with -fsized-delete. - diff --git a/gcc/c-family/ChangeLog.google-main b/gcc/c-family/ChangeLog.google-main deleted file mode 100644 index cd968399d30..00000000000 --- a/gcc/c-family/ChangeLog.google-main +++ /dev/null @@ -1,82 +0,0 @@ -2011-12-19 Sterling Augustine - - * c-pretty-print.c (pp_c_specifier_qualifier_list): Move conditional - from beginning to end. - -2011-10-17 Dehao Chen - - * c-opts.c (c_common_parse_file): Write the options to - .gnu.switches.text sections. - -2011-09-20 Diego Novillo - - * c-cppbuiltin.c (c_cpp_builtins): Do not define - __SUPPORT_TS_ANNOTATION__ nor __SUPPORT_DYN_ANNOTATION__. - -2011-09-18 Diego Novillo - - * c-common.c (conversion_warning): When -Wreal-conversion is - enabled, and either type is floating point, use OPT_Wreal_conversion - when calling warning_at. - -2011-09-15 Diego Novillo - - * c-common.c (check_for_self_assign): Handle NULL - values for LHS and RHS. Handle TREE_LIST initializers. - -2011-05-04 Sriraman Tallam - - * c-common.c (handle_version_selector_attribute): New function. - (c_common_attribute_table): New attribute "version_selector". - -2011-04-29 Diego Novillo - - * c-common.c (handle_nonnull_attribute): Remove spurious - white space. - -2011-04-27 Le-Chun Wu - - Google ref 45339. - - * c-common.c (handle_nonnull_attribute): Check whether the nonnull - attribute is applied to the 'this' pointer for non-static methods. - -2011-04-27 Le-Chun Wu - - Google ref 42718. - - * c.opt (Wnonnull): Enable for C++. - -2011-04-27 Le-Chun Wu - - Google ref 39133. - - * c.opt (Wreal-conversion): New flag. - * c-common.c (conversion_warning): Use it. - * c-opts.c (c_common_post_options): Initialize it. - * doc/invoke.texi (Wreal-conversion): Document it. - -2011-04-26 Xinliang David Li - - * c-opts.c (c_common_handle_option): Set - warn_maybe_uninitialized. - -2011-04-26 Le-Chun Wu - - * c-parser.c (c_parser_declaration_or_fndef): Check for self-assign. - (c_parser_expr_no_commas): Check for self-assign. - * c-common.c (check_for_self_assign): New function. - * c-common.h: New function declaration. - * c.opt: New option. - -2011-04-25 David Li - - * c-opts.c (c_common_post_options): New option. - (c_common_parse_file): LIPO mode driver change. - (push_command_line_include): New function. - -Copyright (C) 2011 Free Software Foundation, Inc. - -Copying and distribution of this file, with or without modification, -are permitted in any medium without royalty provided the copyright -notice and this notice are preserved. diff --git a/gcc/cp/ChangeLog.google-4_7 b/gcc/cp/ChangeLog.google-4_7 deleted file mode 100644 index bcd177920af..00000000000 --- a/gcc/cp/ChangeLog.google-4_7 +++ /dev/null @@ -1,75 +0,0 @@ -2012-11-03 Xinliang David Li - - Backport 190538 from trunk: - - PR c++/10416 - * decl.c (poplevel): Check TYPE_HAS_NONTRIVIAL_DESTRUCTOR for - Wunused_variable too. - -2012-10-10 Dehao Chen - - Backport 192285 from trunk: - - 2012-10-10 Dehao Chen - - * cp-gimplify.c (cp_genericize_r): Set location for TRY expr. - -2012-08-17 Xinliang David Li - - error.c (dump_template_bindings): Avoid template - instantiation of typenames when backend is entered. - -2012-08-16 Ollie Wild - - PR c++/54197 - * call.c (extend_ref_init_temps_1): Handle COMPOUND_EXPR trees. - -2012-08-01 Diego Novillo - - Backport r189720 from gcc-4_7-branch - - 2012-07-20 Jason Merrill - - PR c++/54038 - * tree.c (build_cplus_array_type): Use build_cplus_array_type to build - canonical array type rather than mess with its TYPE_*_VARIANT. - -2012-07-24 Cary Coutant - - Backport Fission patches from trunk at r188195, r188857, r189084, - r189094, and r189392. - - 2012-07-09 Sterling Augustine - - * error.c (lang_decl_name): Use TFF_UNQUALIFIED_NAME flag. - - 2012-06-04 Sterling Augustine - - * error.c (dump_decl): Check pp_c_flag_gnu_v3. - (decl_as_dwarf_string, lang_decl_dwarf_name): New functions. - (lang_decl_name): Handle namespace decls. - * cp-tree.h: Declare decl_as_dwarf_string, lang_decl_dwarf_name. - * cp-lang.c: Call them. - -2012-06-15 Cary Coutant - - Revert Fission patches r182490, r182891, r183042, and r183320. - This will clear the way to backport the final patches from trunk. - - r182490: - - 2011-12-19 Sterling Augustine - - * error.c (dump_decl): Reformat return value to "(anonymous namespace)". - (lang_decl_name): Return "(anonymous namespace)" when appropriate. - -2012-06-09 Xinliang David Li - - * decl.c (poplevel): Start/stop timer conditionally. - * decl2.c (cp_write_gloobal_declarations): Stop timer - in non-lipo mode. - -2012-05-15 Ollie Wild - - * decl.c (check_static_variable_definition): Only generate a constexpr - warning when -pedantic is enabled. diff --git a/gcc/cp/ChangeLog.google-main b/gcc/cp/ChangeLog.google-main deleted file mode 100644 index 8c8c851de01..00000000000 --- a/gcc/cp/ChangeLog.google-main +++ /dev/null @@ -1,195 +0,0 @@ -2011-12-19 Sterling Augustine - - * error.c (dump_decl): Reformat return value to "(anonymous namespace)". - (lang_decl_name): Return "(anonymous namespace)" when appropriate. - -2011-12-17 Easwaran Raman - - * decl.c (cxx_init_decl_processing): Specify a function that - takes a void* and size_t for DELETE_EXPR. - * call.c (build_op_delete_call): If fsized-delete is used, use - the variant that takes size_t as the second parameter except - when deleteting a pointer of type void *. - -2011-09-15 Diego Novillo - - * init.c (perform_member_init): Move check for self-assignment - to the end of the function. - -2011-07-21 David Li - - * decl2.c (cp_write_global_declarations): Call - cgraph_process_same_body_aliases. - -2011-07-21 Diego Novillo - - * class.c (cp_fold_obj_type_ref): Call cgraph_get_create_node - instead of cgraph_node. - * cp-objcp-common.c (cp_save_built_in_decl_post_parsing): Likewise. - * decl2.c (cp_process_pending_declarations): Likewise. - * semantics.c (emit_associated_thunks): Likewise. - -2011-07-21 David Li - - * decl2.c (cp_write_global_declarations): Call - cgraph_process_same_body_aliases. - -2011-07-11 DeLesley Hutchins - - * class.c (cp_get_virtual_function_decl): Return null if - the method cannot be found. - -2011-05-06 Lawrence Crowl - - * decl.c: (push_local_name): Change TV_NAME_LOOKUP to start/stop. - (poplevel): Refactor POP_TIMEVAR_AND_RETURN to plain code. - Change TV_NAME_LOOKUP to start/stop. - (define_label): Refactor timevar calls out to a wrapper function. - Change TV_NAME_LOOKUP to start/stop. - (xref_tag): Likewise. - (lookup_label): Refactor timevar calls out to a wrapper function. - Change TV_NAME_LOOKUP to start_cond/stop_cond. - - * pt.c: (instantiate_class_template): Add a wrapper to push/pop new - TV_TEMPLATE_INST. - (instantiate_template): Add a wrapper to push/pop new TV_TEMPLATE_INST. - (lookup_template_class): Refactor timevar calls out to a wrapper - function. Change use of TV_NAME_LOOKUP to TV_TEMPLATE_INST. - (instantiate_decl): Change TV_PARSE to TV_TEMPLATE_INST. - - * name-lookup.c: (store_bindings): Change TV_NAME_LOOKUP to start/stop. - (poplevel_class): Change TV_NAME_LOOKUP to start_cond/stop_cond. - (push_namespace): Likewise. - (pop_nested_namespace): Likewise. - (pushdecl_namespace_level): Likewise. - (store_class_bindings): Likewise. - (push_to_top_level): Likewise. - (identifier_type_value): Refactor timevar calls out to a wrapper - function. Change TV_NAME_LOOKUP to start/stop. - (find_binding): Likewise. - (push_using_decl): Likewise. - (lookup_arg_dependent): Likewise. - (push_using_directive): Likewise. - (qualified_lookup_using_namespace): Refactor POP_TIMEVAR_AND_RETURN - to plain code. Change TV_NAME_LOOKUP to start/stop. - (lookup_type_current_level): Likewise. Refactor inner return to - break. - (pushdecl_class_level): Refactor POP_TIMEVAR_AND_RETURN to plain - code. Change TV_NAME_LOOKUP to start_cond/stop_cond. - (pushdecl_top_level_1): Likewise. - (lookup_using_namespace): Likewise. - (pushdecl_with_scope): Refactor timevar calls out to a wrapper - function. Change TV_NAME_LOOKUP to start_cond/stop_cond. - (push_overloaded_decl): Likewise. - (push_class_level_binding): Likewise. - (namespace_binding): Likewise. - (set_namespace_binding): Likewise. - (supplement_binding): Likewise. - (unqualified_namespace_lookup): Likewise. - (lookup_name_real): Likewise. - (lookup_type_scope): Likewise. - (namespace_ancestor): Likewise. - (lookup_name_innermost_nonclass_level): Likewise. - (pushtag): Likewise. - (pop_from_top_level): Likewise. - (pushdecl_maybe_friend): Refactor timevar calls out to a wrapper - function. Change TV_NAME_LOOKUP to start_cond/stop_cond. Wrap long - lines. - (add_using_namespace): Refactor timevar calls out to a wrapper - function. Change TV_NAME_LOOKUP to start_cond/stop_cond. Bypass - wrapper on call to self. - - * decl2.c: (cp_write_global_declarations): Add start/stop of - new TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, TV_PHASE_CHECK_DBGINFO. - Remove push/pop calls to TV_VARCONST. - - * parser.c: Add include of "timevar.h". - (cp_parser_explicit_instantiation): Add push/pop calls to - TV_TEMPLATE_INST. - (cp_parser_enum_specifier): Add push/pop calls to new TV_PARSE_ENUM. - (cp_parser_class_specifier): Add wrapper to add push/pop calls to - TV_PARSE_STRUCT. - (cp_parser_function_definition_from_specifiers_and_declarator): Add - push/pop calls to new TV_PARSE_FUNC or TV_PARSE_INLINE. - (cp_parser_late_parsing_for_member): Add push/pop calls to - new TV_PARSE_INMETH. - - * call.c: Add include of "timevar.h". - (convert_class_to_reference): Wrap and add push/pop calls to - TV_OVERLOAD. - (build_op_call): Likewise. - (build_conditional_expr): Likewise. - (build_new_op): Likewise. - (build_new_method_call): Likewise. - (build_user_type_conversion): Reorganize to single return and add - push/pop calls to TV_OVERLOAD. - (perform_overload_resolution): Likewise. - - * Make-lang.in: Add dependence of call.o and parser.o on $(TIMEVAR_H). - -2011-05-01 David Li - - * cp/cp-objcp-common.c (cmp_templ_arg): Use assembler name for - decl comparison. - -2011-04-28 Diego Novillo - Le-Chun Wu - - Google ref 40484. - - * call.c (conversion_null_warnings): Also handle assignments - when warning about NULL conversions. - -2011-04-27 Le-Chun Wu - - Google ref 39127. - - * name-lookup.c (pushdecl_maybe_friend): When emitting a - shadowing warning, use the code corresponding to the - given -Wshadow- variant. - -2011-04-27 Le-Chun Wu - - Google ref 40484. - - * cp-tree.h (LOOKUP_EXPLICIT_TMPL_ARGS): Define. - * call.c (build_new_function_call): Set it for TEMPLATE_ID_EXPRs. - (build_over_call): Use it to determine whether to emit a NULL - warning for template function instantiations. - (build_new_method_call): Set LOOKUP_EXPLICIT_TMPL_ARGS if - EXPLICIT_TARGS is set. - -2011-04-26 Le-Chun Wu - - * init.c (perform_member_init): Check for self-assign. - * parser.c (expr_is_pod): New function. - (cp_parser_assignment_expression): Check for self-assign. - (cp_parser_init_declarator): Check for self-assign. - -2011-04-25 David Li - - * decl.c (walk_namespaces): Ditto. - (duplicate_decls): Ditto. - (make_rtl_for_nonlocal_decl): Ditto. - * rtti.c (get_tinfo_decl): Ditto. - (create_pseudo_type_info): Ditto. - (create_tinfo_types): Ditto. - * cp-lang.c (cp_classify_record): Ditto. - * pt.c (instantiate_decl): Ditto. - * semantics.c (emit_associated_thunks): Ditto. - * decl2.c (start_static_storage_duration_function): Ditto. - (prune_vars_needing_no_initialization): Ditto. - (cxx_callgraph_analyze_expr): Ditto. - (no_linkage_error): Ditto. - (collect_all_refs): Ditto. - (cp_write_global_declarations): Ditto. - * parser.c (pragma_lex): Ditto. - * cp-objcp-common.c (cp_function_decl_explicit_p): Ditto. - * mangle.c (mangle_conv_op_name_for_type): Ditto. - * name-lookup.c (add_decl_to_level): Ditto. - -Copyright (C) 2011 Free Software Foundation, Inc. - -Copying and distribution of this file, with or without modification, -are permitted in any medium without royalty provided the copyright -notice and this notice are preserved. diff --git a/gcc/fortran/ChangeLog.google-integration b/gcc/fortran/ChangeLog.google-integration deleted file mode 100644 index 5396054cb18..00000000000 --- a/gcc/fortran/ChangeLog.google-integration +++ /dev/null @@ -1,3 +0,0 @@ -2011-01-28 Simon Baldwin - - * module.c (gfc_dump_module): Omit timestamp from output. diff --git a/gcc/java/ChangeLog.google-main b/gcc/java/ChangeLog.google-main deleted file mode 100644 index c1dae3ebf77..00000000000 --- a/gcc/java/ChangeLog.google-main +++ /dev/null @@ -1,4 +0,0 @@ -2011-07-21 Diego Novillo - - * Make-lang.in (JVGENMAIN_OBJS): Add vec.o and ggc-none.o. - diff --git a/gcc/lto/ChangeLog.google-4_7 b/gcc/lto/ChangeLog.google-4_7 deleted file mode 100644 index 861759a4529..00000000000 --- a/gcc/lto/ChangeLog.google-4_7 +++ /dev/null @@ -1,6 +0,0 @@ -2012-09-27 Dehao Chen - - Backport from trunk r191494, r191510, r191614, r191669, r191680, - r191706, r191747, r191759, r191779 and r191810: - - * lto/lto.c (lto_fixup_prevailing_decls): Remove tree.exp.block field. diff --git a/gcc/testsuite/ChangeLog.google-4_7 b/gcc/testsuite/ChangeLog.google-4_7 deleted file mode 100644 index 897e2d764f7..00000000000 --- a/gcc/testsuite/ChangeLog.google-4_7 +++ /dev/null @@ -1,185 +0,0 @@ -2012-12-01 Xinliang David Li - - Backport r194038 from trunk - - * gcc.target/i386/ifcvt-onecmpl-abs-1.c: Check for - cltd. - -2012-11-26 Diego Novillo - - Backport from gcc-4_7-branch r193816. - - 2012-11-26 Richard Biener - - Backport from mainline - 2012-10-12 Richard Biener - - PR tree-optimization/54894 - * gcc.dg/torture/pr54894.c: New testcase. - - 2012-10-02 Richard Guenther - - PR middle-end/54735 - * g++.dg/torture/pr54735.C: New testcase. - -2012-11-26 Diego Novillo - - * g++.dg/pr55245.C: New. - -2012-11-03 Xinliang David Li - - Backport 190538 from trunk: - - PR c++/10416 - * g++.dg/warn/Wunused-var-17.C: New. - -2012-11-01 Easwaran Raman - - Backport 191302 from trunk: - - 2012-09-14 Eric Botcazou - * gcc.dg/pr44194-1.c: Check that there are no memory accesses left. - -2012-10-18 Easwaran Raman - - Backport r183817 from google/gcc-4_6 branch. - - 2012-02-01 Easwaran Raman - - * tree-prof/switch-case-1.c: New test. - * tree-prof/switch-case-2.c: New test. - -2012-10-10 Dehao Chen - - Backport 192285 from trunk: - - 2012-10-10 Dehao Chen - - * g++.dg/debug/dwarf2/deallocator.C: Cover more deallocator cases. - -2012-10-08 Dehao Chen - - Backport 192049 from trunk: - - * gcc.dg/pr54782.c: New test. - -2012-09-14 Dehao Chen - - Backport 191338 from trunk: - - 2012-09-14 Dehao Chen - - * g++.dg/debug/dwarf2/deallocator.C: New test. - -2012-09-05 Cary Coutant - - Backport trunk patch to fix a problem where type signature does - not include the type's context. - - 2012-07-19 Jason Merrill - - * g++.dg/debug/dwarf2/nested-4.C: New. - -2012-08-16 Ollie Wild - - PR c++/54197 - * g++.dg/init/lifetime3.C: New test. - -2012-08-09 Cary Coutant - - Backport of pending upstream patch. - - * g++.dg/debug/dwarf2/dwarf4-nested.C: New test case. - * g++.dg/debug/dwarf2/dwarf4-typedef.C: Add - -fdebug-types-section flag. - -2012-08-07 Cary Coutant - - Backport r190190 from trunk. - - * g++.dg/debug/dwarf2/non-virtual-thunk.C: New test case. - -2012-08-02 Simon Baldwin - - Port r190071 from google/main. - - 2012-08-01 Simon Baldwin - - * gcc.dg/tree-prof/lipo/lipo.exp: Add -fno-section-anchors to - profile_option and feedback_option for powerpc targets. Workround - for Google ref b/6663281. - * g++.dg/tree-prof/lipo/lipo.exp: Likewise. - -2012-08-01 Diego Novillo - - Backport r189720 from gcc-4_7-branch - - 2012-07-20 Jason Merrill - - PR c++/54038 - * g++.dg/other/array7.C: New. - -2012-08-01 Dehao Chen - - Backport r190015 from trunk. - - 2012-07-31 Dehao Chen - * predict.c (tree_estimate_probability_driver): Normalize the - loop when initializing the loop optimizer. - -2012-07-24 Cary Coutant - - Backport Fission patches from trunk at r188195, r188857, r189084, - r189094, and r189392. - - 2012-07-09 Sterling Augustine - - * g++.dg/debug/dwarf2/pubnames-2.C: New. - -2012-06-15 Cary Coutant - - Revert Fission patches r182490, r182891, r183042, and r183320. - This will clear the way to backport the final patches from trunk. - - 2012-01-04 Sterling Augustine - - * g++.dg/diagnostic/bindings1.C: Adjust expected output. - * g++.dg/ext/pretty3.C: Likewise. - * g++.dg/pr44486.C: Likewise. - * g++.dg/warn/Wuninitializable-member.C: Likewise. - * g++.dg/warn/pr35711.C: Likewise. - * g++.old-deja/g++.pt/memtemp77.C: Likewise. - -2012-06-07 Easwaran Raman - Backport r179412 from google/gcc-4_6 branch. - 2011-09-30 Easwaran Raman - - * gcc.dg/sample-profile-generate-1.c: New test. - -2012-05-30 Dehao Chen - - * g++.dg/predict-loop-exit-1.C: New test. - * g++.dg/predict-loop-exit-2.C: New test. - * g++.dg/predict-loop-exit-3.C: New test. - -2012-05-15 Ollie Wild - - * g++.dg/cpp0x/constexpr-static8.C: Replace -fpermissive with -pedantic. - * g++.dg/cpp0x/constexpr-static8_nonpedantic.C: New test. - * g++.old-deja/g++.ext/memconst.C: Compile with -pedantic - -pedantic-errors to work around test failures with -std=gnu++11. - - -2012-05-03 Dehao Chen - - Backport r185949 from google-main. - - 2012-03-29 Dehao Chen - - * gcc.dg/predict-1.c: Check if LOOP_IV_COMPARE static predict - heuristic is working properly. - * gcc.dg/predict-2.c: Likewise - * gcc.dg/predict-3.c: Likewise - * gcc.dg/predict-4.c: Likewise - * gcc.dg/predict-5.c: Likewise - * gcc.dg/predict-6.c: Likewise diff --git a/gcc/testsuite/ChangeLog.google-integration b/gcc/testsuite/ChangeLog.google-integration deleted file mode 100644 index 280cf2ba719..00000000000 --- a/gcc/testsuite/ChangeLog.google-integration +++ /dev/null @@ -1,104 +0,0 @@ -2011-09-14 Diego Novillo - - * g++.dg/tree-prof/partition2.C: Revert to mainline variant. - * g++.dg/tree-ssa/pr41186.C: Likewise. - * gcc.dg/cproj-fails-with-broken-glibc.c: Likewise. - * gcc.dg/guality/sra-1.c: Likewise. - * gcc.dg/guality/vla-1.c: Likewise. - * gcc.dg/guality/vla-2.c: Likewise. - * gcc.dg/inline_3.c: Likewise. - * gcc.dg/inline_4.c: Likewise. - * gcc.dg/tree-ssa/vrp47.c: Likewise. - * gcc.dg/uninit-B.c: Likewise. - * gcc.dg/uninit-pr19430.c: Likewise. - * gcc.dg/unroll_2.c: Likewise. - * gcc.dg/unroll_3.c: Likewise. - * gcc.dg/unroll_4.c: Likewise. - * gcc.target/i386/pr27827.c: Likewise. - * gcc.target/i386/sse4_1-blendps-2.c: Likewise. - * gcc.target/i386/sse4_1-blendps.c: Likewise. - -2011-08-17 Diego Novillo - - * g++.dg/plugin/decl_plugin.c: Include diagnostic.h. - * g++.dg/tree-prof/partition2.C: Skip. - * g++.dg/tree-ssa/pr41186.C: Mark xfail. - * gcc.dg/uninit-B.c: Remove xfail. - * gcc.dg/uninit-pr19430.c: Likewise. - -2011-07-21 Diego Novillo - - * gcc.dg/inline_3.c: Remove dg-excess-errors. - * gcc.dg/inline_4.c: Likewise. - * gcc.dg/unroll_2.c: Likewise. - * gcc.dg/unroll_3.c: Likewise. - * gcc.dg/unroll_4.c: Likewise. - * gcc.dg/tree-ssa/20030807-7.c: Remove xfail. - * gcc.target/i386/sse4_1-blendps-2.c: Compile with -O0. Add FIXME note. - * gcc.target/i386/sse4_1-blendps.c: Likewise. - -2011-07-16 Diego Novillo - - * gcc.target/i386/pr27827.c: Add -mtune=generic. - * gcc.target/i386/sse4_1-blendps.c: Compile with -O0. - * gfortran.dg/coarray_lock_3.f90: Remove expected error. - -2011-07-15 Diego Novillo - - * gcc.c-torture/execute/builtins/strstr-asm.x: New. XFAIL for -flto. - * gcc.dg/tree-ssa/vrp47.c: XFAIL. - * gfortran.dg/coarray_lock_3.f90: XFAIL. - -2011-05-27 Simon Baldwin - - * testsuite/gcc.dg/plugin/selfassign.c (check_self_assign): Renamed - from warn_self_assign. - (execute_warn_self_assign): Call a function by its new name. - * testsuite/g++.dg/plugin/selfassign.c (check_self_assign): Renamed - from warn_self_assign. - (execute_warn_self_assign): Call a function by its new name. - -2011-03-30 Diego Novillo - - * g++.dg/guality/guality.exp: Disable. - * gcc.dg/guality/guality.exp: Disable. - * gfortran.dg/guality/guality.exp: Disable. - -2011-03-14 Diego Novillo - - * gcc.dg/guality/vla-1.c: XFAIL. - * gcc.dg/guality/vla-2.c: XFAIL. - * gcc.dg/guality/sra-1.c: XFAIL. - -2011-03-14 Diego Novillo - - * gcc.dg/cproj-fails-with-broken-glibc.c: Just compile. - -2011-03-14 Diego Novillo - - * g++.dg/rtti/repo1.C: Skip. - - Google ref 39481. - -2011-03-04 Diego Novillo - - * lib/g++.exp (g++_init): Add $TEST_ALWAYS_FLAGS to - ALWAYS_CXXFLAGS, if defined. - * lib/gfortran.exp (gfortran_init): Add $TEST_ALWAYS_FLAGS to - ALWAYS_GFORTRANFLAGS, if defined. - * lib/go.exp (go_target_compile): Add $TEST_ALWAYS_FLAGS to - ALWAYS_GOCFLAGS, if defined. - * lib/obj-c++.exp (obj-c++_init): Add $TEST_ALWAYS_FLAGS to - ALWAYS_OBJCXXFLAGS, if defined. - * lib/gcc.exp (gcc_target_compile): Add $TEST_ALWAYS_FLAGS to - additional_flags, if defined. - * lib/gnat.exp (gnat_target_compile): Likewise. - * lib/objc.exp (objc_target_compile): Likewise. - * lib/target-supports-dg.exp (dg-add-options): Handle - TEST_ALWAYS_FLAGS. - -Copyright (C) 2011 Free Software Foundation, Inc. - -Copying and distribution of this file, with or without modification, -are permitted in any medium without royalty provided the copyright -notice and this notice are preserved. diff --git a/gcc/testsuite/ChangeLog.google-main b/gcc/testsuite/ChangeLog.google-main deleted file mode 100644 index ec30c4e66da..00000000000 --- a/gcc/testsuite/ChangeLog.google-main +++ /dev/null @@ -1,371 +0,0 @@ -2012-02-03 Harshit Chopra - - Restricting the tests to run for 64-bit target since function patching - is only supported for 64-bit targets. - - * gcc.target/i386/patch-functions-1.c: Restrict to 64-bit targets. - * gcc.target/i386/patch-functions-2.c: Likewise - * gcc.target/i386/patch-functions-3.c: Likewise - * gcc.target/i386/patch-functions-4.c: Likewise - * gcc.target/i386/patch-functions-5.c: Likewise - * gcc.target/i386/patch-functions-6.c: Likewise - * gcc.target/i386/patch-functions-7.c: Likewise - -2011-02-01 Dehao Chen - - * gcc.dg/predict-1.c: Check if LOOP_IV_COMPARE static predict - heuristic is working properly. - * gcc.dg/predict-2.c: Likewise. - * gcc/dg/predict-3.c: Likewise. - * gcc/dg/predict-4.c: Likewise. - -2012-01-26 Han Shen - - * gcc.dg/fstack-protector-strong.c: New test. - * g++.dg/fstack-protector-strong.C: New test. - -2012-01-04 Sterling Augustine - - * g++.dg/diagnostic/bindings1.C: Adjust expected output. - * g++.dg/ext/pretty3.C: Likewise. - * g++.dg/pr44486.C: Likewise. - * g++.dg/warn/Wuninitializable-member.C: Likewise. - * g++.dg/warn/pr35711.C: Likewise. - * g++.old-deja/g++.pt/memtemp77.C: Likewise. - -2011-12-17 Easwaran Raman - - * g++.dg/other/sized-delete-1.C: New test. - -2011-12-16 Dehao Chen - - * gcc.dg/inline-dump.c: New test. - -2011-12-12 Dmitry Vyukov - - * gcc.dg/tsan.h: Fix compiler warnings. - * gcc.dg/tsan-ignore.c: Fix compiler warnings. - * gcc.dg/tsan-ignore.h: Fix compiler warnings. - * gcc.dg/tsan-mop.c: Fix compiler warnings. - -2011-10-17 Dehao Chen - - * gcc.dg/record-gcc-switches-in-elf-1.c: New test. - -2011-07-26 David Li - - * testsuite/gcc.dg/tree-prof/lipo/val-prof-2_0.c: update test case - -2011-07-25 Diego Novillo - - * g++.dg/dg.exp: Remove tests in directory thread-ann. - -2011-06-16 Sharad Singhai - - * testsuite/lib/gcov.exp: Handle intermediate format. - * testsuite/g++.dg/gcov/gcov-7.C: New test. - -2011-06-14 Le-Chun Wu - - * g++.dg/thread-ann/thread_annot_lock-78.C: New test. - -2011-06-07 David Li - - * testsuite/gcc.dg/tree-prof/lipo/indir-call-prof_0.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/indir-call-prof_1.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-1_0.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-2_0.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-3_0.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-4_0.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-5_0.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-7_0.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/indir-call-prof-single_0.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/stringop-1_0.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/ic-misattribution-1_0.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/stringop-2_0.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/update-loopch_0.c: Pass name fix. - * testsuite/gcc.dg/tree-prof/lipo/ic-misattribution-1_1.c: Pass name fix. - * testsuite/g++.dg/tree-prof/lipo/vcall1_0.C: Pass name fix. - * testsuite/g++.dg/tree-prof/lipo/indir-call-prof_0.C: Pass name fix. - * testsuite/g++.dg/tree-prof/lipo/vcall1_1.C: Pass name fix. - * testsuite/g++.dg/tree-prof/lipo/vcall1_2.C: Pass name fix. - -2011-06-02 Jing Yu - - Backport r174549 - - 2011-06-01 Sofiane Naci - - * gcc.target/arm/g2.c: Skip test in -mthumb. - Skip test unless cpu is xscale. - * gcc.target/arm/scd42-2.c: Likewise. - * gcc.target/arm/mmx-1.c: Skip test in -mthumb. - -2011-05-21 David Li - - * testsuite/gcc.dg/matrix/transpose-1.c: Do not inline mem_init. - * testsuite/gcc.dg/matrix/transpose-2.c: Ditto. - * testsuite/gcc.dg/matrix/transpose-3.c: Ditto. - * testsuite/gcc.dg/matrix/transpose-4.c: Ditto. - * testsuite/gcc.dg/matrix/transpose-5.c: Ditto. - * testsuite/gcc.dg/matrix/transpose-6.c: Ditto. - - -2011-05-06 Xinliang David Li - - * g++.dg/other/no-strict-enum-precision-1.C: Use -fno-strict-enums. - * g++.dg/other/no-strict-enum-precision-2.C: Ditto. - * g++.dg/other/no-strict-enum-precision-3.C: Ditto. - -2011-05-06 Easwaran Raman - - Backport r172837: - - * gcc.dg/stack-layout-2.c: New test. - -2011-05-06 Easwaran Raman - - Backport r172788: - - * gcc.dg/stack-layout-1.c: New test. - -2011-05-04 Sriraman Tallam - - * testsuite/gcc.dg/mversn7.c: New test. - * testsuite/gcc.dg/mversn4.c: New test. - * testsuite/gcc.dg/mversn4.h: New test. - * testsuite/gcc.dg/mversn4a.c: New test. - * testsuite/gcc.dg/torture/mversn1.c: New test. - * testsuite/gcc.dg/mversn2.c: New test. - * testsuite/gcc.dg/mversn6.c: New test. - * testsuite/gcc.dg/mversn3.c: New test. - * testsuite/g++.dg/mversn8.C: New test. - * testsuite/g++.dg/mversn10a.C: New test. - * testsuite/g++.dg/mversn14a.C: New test. - * testsuite/g++.dg/tree-prof/mversn13.C: New test. - * testsuite/g++.dg/tree-prof/mversn15.C: New test. - * testsuite/g++.dg/tree-prof/mversn15a.C: New test. - * testsuite/g++.dg/mversn9.C: New test. - * testsuite/g++.dg/mversn10.C: New test. - * testsuite/g++.dg/mversn12.C: New test. - * testsuite/g++.dg/mversn14.C: New test. - * testsuite/g++.dg/mversn16.C: New test. - * testsuite/g++.dg/torture/mversn11.C: New test. - * testsuite/g++.dg/torture/mversn5.C: New test. - * testsuite/g++.dg/torture/mversn5.h: New test. - * testsuite/g++.dg/torture/mversn5a.C: New test. - -2011-05-03 Xinliang David Li - - Backport r17342: - - * gcc.dg/tree-ssa/integer-addr.c: New test. - * gcc.dg/tree-ssa/alias_bug.c: New test. - -2011-05-01 David Li - - * testsuite/lib/profopt.exp (profopt-execute): Multiple source file support. - * testsuite/g++.dg/tree-prof/lipo/lipo.exp: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/indir-call-prof_0.c: New test. - * testsuite/gcc.dg/tree-prof/lipo/indir-call-prof_1.c: New test. - * testsuite/gcc.dg/tree-prof/lipo/lipo_inline1_0.c: New test. - * testsuite/gcc.dg/tree-prof/lipo/lipo_inline1_1.c: New test. - * testsuite/gcc.dg/tree-prof/lipo/lipo_inline1_2.c: New test. - * testsuite/g++.dg/tree-prof/lipo/vcall1_0.c: New test. - * testsuite/g++.dg/tree-prof/lipo/vcall1_1.c: New test. - * testsuite/g++.dg/tree-prof/lipo/vcall1_2.c: New test. - * testsuite/gcc.dg/tree-prof/lipo/inliner-1.c: Rename. - * testsuite/gcc.dg/tree-prof/lipo/stringop-1.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/update-loopch.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/stringop-2.: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/ic-misattribution-1.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/update-tailcall.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/ic-misattribution-1a.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/tracer-1.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/indir-call-prof.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-1.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-2.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-3.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-4.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-5.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-6.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-7.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/pr47187.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/update-cunroll-2.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/bb-reorg.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/pr34999.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/ic-misattribution-1_0.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/ic-misattribution-1_1.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/wcoverage-mismatch.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/pr45354.c: Ditto. - * testsuite/g++.dg/tree-prof/lipo/inline_mismatch_args.C: Ditto. - * testsuite/g++.dg/tree-prof/lipo/indir-call-prof-2.C: Ditto. - * testsuite/g++.dg/tree-prof/lipo/indir-call-prof.C: Ditto. - * testsuite/g++.dg/tree-prof/lipo/partition1.C: Ditto. - * testsuite/g++.dg/tree-prof/lipo/partition2.C: Ditto. - * testsuite/g++.dg/tree-prof/lipo/partition3.C: Ditto. - -2011-04-30 Guozhi Wei - - PR target/43129 - * gcc.target/arm/got1.c: New testcase. - * gcc.target/arm/got2.c: New testcase. - -2011-04-29 Cary Coutant - - * gcc.dg/debug/dwarf2/mlt1.c: New test. - * gcc.dg/debug/dwarf2/mlt2.c: New test. - -2011-04-29 Sharad Singhai - - * gcc.dg/vect/O3-vect-pr34223.c: Add extra peeling - parameters. - * gcc.dg/vect/vect.exp: Allow reading flags in individual - tests. - -2011-04-29 Diego Novillo - - * c-c++-common/Wreal-conversion-1.c: Move from gcc.dg. - * g++.dg/warn/Wreal-conversion-1.C: Remove. - -2011-04-29 Diego Novillo - - Google ref 40484. - - * g++.old-deja/g++.other/null3.C: Expect warning about - converting boolean to a pointer. - -2011-04-28 Diego Novillo - - * g++.dg/other/no-strict-enum-precision-1.C: Re-indent using GNU style. - * g++.dg/other/no-strict-enum-precision-2.C: Likewise. - * g++.dg/other/no-strict-enum-precision-3.C: Likewise. - * g++.dg/warn/Wconversion-null-2.C: Likewise. - * g++.dg/warn/Wnonnull-1.C: Likewise. - * g++.dg/warn/Wnull-conversion-1.C: Likewise. - * g++.dg/warn/Wnull-conversion-2.C: Likewise. - * g++.dg/warn/Wreal-conversion-1.C: Likewise. - * g++.dg/warn/Wshadow-local-1.C: Likewise. - * g++.dg/warn/nonnull2.C: Likewise. - * gcc.dg/Wreal-conversion-1.c: Likewise. - * gcc.dg/Wshadow-compatible-local-1.c: Likewise. - -2011-04-28 Le-Chun Wu - - Google ref 40484. - - * g++.dg/warn/Wconversion-null-2.C: Do not expect a NULL - warning in implicitly instantiated templates. - -2011-04-28 David Li - - * testsuite/gcc.dg/tree-prof/lipo/lipo.exp: New expect file. - * testsuite/g++.dg/tree-prof/lipo/lipo.exp: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/inliner-1.c: New test. - * testsuite/gcc.dg/tree-prof/lipo/gdb_cmd: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/bb-reorg.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/stringop-1.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/pr34999.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/stringop-2.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/update-loopch.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/ic-misattribution-1.c : Ditto. - * testsuite/gcc.dg/tree-prof/lipo/update-tailcall.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/ic-misattribution-1a.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/tracer-1.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/indir-call-prof.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-1.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/wcoverage-mismatch.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-2.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/pr45354.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-3.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-4.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-5.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-6.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/val-prof-7.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/pr47187.c: Ditto. - * testsuite/gcc.dg/tree-prof/lipo/update-cunroll-2.c: Ditto. - * testsuite/g++.dg/tree-prof/lipo/inline_mismatch_args.C: Ditto. - * testsuite/g++.dg/tree-prof/lipo/indir-call-prof-2.C: Ditto. - * testsuite/g++.dg/tree-prof/lipo/indir-call-prof.C: Ditto. - * testsuite/g++.dg/tree-prof/lipo/partition1.C: Ditto. - * testsuite/g++.dg/tree-prof/lipo/partition2.C: Ditto. - * testsuite/g++.dg/tree-prof/lipo/partition3.C: Ditto. - -2011-04-27 Le-Chun Wu - - Google ref 45339. - - * g++.dg/warn/nonnull2.C: New. - -2011-04-27 Le-Chun Wu - - Google ref 42718. - - * g++.dg/warn/Wnonnull-1.C: New. - -2011-04-27 Le-Chun Wu - - Google ref 39133. - - * g++.dg/warn/Wreal-conversion-1.C: New. - * gcc.dg/Wreal-conversion-1.c: New. - -2011-04-27 Le-Chun Wu - - Google ref 39127. - - * g++.dg/warn/Wshadow-compatible-local-1.C: New. - * g++.dg/warn/Wshadow-local-1.C: New. - * g++.dg/warn/Wshadow-local-2.C: New. - * gcc.dg/Wshadow-compatible-local-1.c: New. - * gcc.dg/Wshadow-local-1.c: New. - * gcc.dg/Wshadow-local-2.c: New. - * gcc.dg/Wshadow-local-3.c: New. - -2011-04-27 Le-Chun Wu - - Google ref 40484. - - * g++.dg/warn/Wnull-conversion-1.C: New. - * g++.dg/warn/Wnull-conversion-2.C: New. - -2011-04-27 Silvius Rus - - Google ref 39984. - - * g++.dg/other/no-strict-enum-precision-1.C: New. - * g++.dg/other/no-strict-enum-precision-2.C: New. - * g++.dg/other/no-strict-enum-precision-3.C: New. - -2011-04-26 Le-Chun Wu - - * testsuite/g++.dg/plugin/selfassign.c (check_self_assign): Renamed - from warn_self_assign. - (execute_warn_self_assign): Call a function by its new name. - * testsuite/g++.dg/warn/Wself-assign-1.C: New test case. - * testsuite/g++.dg/warn/Wself-assign-2.C: Likewise. - * testsuite/g++.dg/warn/Wself-assign-3.C: Likewise. - * testsuite/g++.dg/warn/Wself-assign-4.C: Likewise. - * testsuite/g++.dg/warn/Wself-assign-5.C: Likewise. - * testsuite/g++.dg/warn/Wself-assign-non-pod-1.C: Likewise. - * testsuite/g++.dg/warn/Wself-assign-non-pod-2.C: Likewise. - * testsuite/g++.dg/warn/Wself-assign-non-pod-3.C: Likewise. - * testsuite/g++.dg/warn/Wself-assign-non-pod-4.C: Likewise. - * testsuite/g++.dg/warn/Wself-assign-non-pod-5.C: Likewise. - * testsuite/gcc.dg/plugin/selfassign.c (check_self_assign): Renamed - from warn_self_assign. - (execute_warn_self_assign): Call a function by its new name.: - * testsuite/gcc.dg/wself-assign-1.c: New test case. - * testsuite/gcc.dg/wself-assign-2.c: Likewise. - -2011-04-04 Martin Thuresson - - PR gcov-profile/47793 - * gcc.dg/pr47793.c: New test - - -Copyright (C) 2011 Free Software Foundation, Inc. - -Copying and distribution of this file, with or without modification, -are permitted in any medium without royalty provided the copyright -notice and this notice are preserved. -- cgit v1.2.1