X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;ds=sidebyside;f=gcc%2FChangeLog;h=92a17cb9c020714251d9acbc7bfd8f87f349ddfa;hb=bdbc474baced26ecbc6608f59cc13d9348626ed1;hp=79472780861a5c10394a762a059259b237160114;hpb=10c896daa3e6c7d706627fbcaf84d9dced1d146f;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 79472780861..92a17cb9c02 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,293 @@ +2007-07-21 Rafael Avila de Espindola + + * Makefile.in: Replace toplev.h with TOPLEV_H. + * c-decl.c (merge_decls): Don't set DECL_IN_SYSTEM_HEADER. + * c-lex.c (fe_file_change): Don't set in_system_header. + * c-parser.c (c_token): Remove in_system_header. + (c_lex_one_token): Don't set in_system_header. + (c_parser_set_source_position_from_token): Don't set in_system_header. + * diagnostic.c (diagnostic_report_diagnostic): Use location from + diagnostic_info. + (warning_at): New. + * diagnostic.h (diagnostic_report_warnings_p): Add LOC argument. + * flags.h (in_system_header): Remove. + * function.c (saved_in_system_header): Remove. + (push_cfun): Don't set in_system_header. + (pop_cfun): Don't set in_system_header. + (push_struct_function): Don't set in_system_header. + * input.h (expanded_location): Add sysp. + (in_system_header_at): New. + (in_system_header): New. + * toplev.c (in_system_header): Remove. + * toplev.h: Include input.h + (warning_at): New. + * tree-cfg.c (execute_warn_function_return): Call warning_at. + * tree-ssa.c (warn_uninit): Call warning_at. + (warn_uninitialized_var): Update calls to warn_uninit. + (warn_uninitialized_phi): Update calls to warn_uninit. + * tree.c (make_node_stat): Don't set DECL_IN_SYSTEM_HEADER. + (expand_location): Initialize xloc.sysp. + * tree.h (DECL_IN_SYSTEM_HEADER): Use in_system_header_at. + (tree_decl_with_vis): Remove in_system_header_flag. + +2008-07-21 Andreas Krebbel + + PR target/36822 + * recog.c (asm_operand_ok): Change the order of the extra + memory constraint checks. + +2008-07-20 Andrew Pinski + + PR tree-opt/36879 + * tree-switch-conversion.c (build_one_array): Call + varpool_mark_needed_node and varpool_finalize_decl + instead of assemble_variable. + +2008-07-19 Jan Hubicka + + * cgraph.c (cgraph_add_new_function): Do early local passes. + * tree-nrv.c (gate_pass_return_slot): New gate. + (pass_nrv): Add the gate. + * tree-ssa-coalese.c (hash_ssa_name_by_var, eq_ssa_name_by_var): New + functions. + (coalesce_ssa_name): Coalesce SSA names. + * tree-ssa-live.c (remove_unused_locals): Be more conservative when + not optimizing so unused user vars remains visible. + * common.opt (flag_tree_ter): Always enable by default. + * tree-ssa-ter.c: Include flags.h + (is_replaceable_p): Check that locations match; when aliasing is missing + be conservative about loads. + * tree-optimize.c (gate_init_datastructures): Remove. + (pass_init_datastructures): New. + * passes.c: Reorder passes so we always go into SSA. + +2008-07-19 Jan Hubicka + + * doc/extend.texi (flatten attribute): Remove note about unit-at-a-time + * doc/invoke.texi (--combine): Likewise. + (-finline-functions-called-once): Update levels when enabled. + (-funit-at-a-time): Document new behaviour. + (-ftoplevel-reorder): Document that it is enabled -O0 and imply + -fno-section-anchors when disabled explicitly. + (inline params): They are not ignored now. + (precompiled headers): Remove unit-at-a-time as being incompatible. + * opts.c (decode_options): Handle unit-at-a-time as alias; + imply -fno-section-anchors when toplevel reorder is disabled + explicitly. + * common.opt (ftoplevel-reorder): Set default value to 2. + (funit-at-a-time): Set default value to 1. + * config/rs6000/rs6000.c (optimization_options): Set section anchors + to 2. + +2008-07-19 Jan Hubicka + + * builtins.c (expand_builtin_int_roundingfn, + expand_builtin_int_roundingfn_2): Do not take subtarget argument; + it is not useful. + +2008-07-19 Richard Guenther + + PR bootstrap/36864 + * tree-ssa-sccvn.h (get_constant_value_id): Declare. + * tree-ssa-sccvn.c (get_constant_value_id): New function. + * tree-ssa-pre.c (get_expr_value_id): For newly created + constant value-ids make sure to add the expression to its + expression-set. + +2008-07-19 Jakub Jelinek + + PR middle-end/36877 + * omp-low.c (expand_omp_atomic_fetch_op): Make sure the + return value of the builtin is ignored. + +2008-07-19 Olivier Hainque + + * doc/tm.texi (MALLOC_ABI_ALIGNMENT): New macro. Alignment, in + bits, a C conformant malloc implementation has to provide. + * defaults.h (MALLOC_ABI_ALIGNMENT): Default to BITS_PER_WORD. + +2008-07-19 Joseph Myers + + PR target/36780 + PR target/36827 + * reload.c (find_reloads_subreg_address): Only reload address if + reloaded == 0, not for reloaded != 1. + + Revert: + 2008-07-16 Joseph Myers + * config/m32c/m32c.c (BIG_FB_ADJ): Move definition earlier. + (m32c_legitimate_address_p): Handle "++rii" addresses created by + m32c_legitimize_reload_address. + + 2008-07-15 Kaz Kojima + * config/sh/sh.h (GO_IF_LEGITIMATE_ADDRESS): Allow + (plus (plus (reg) (const_int)) (const_int)) when reload_in_progress. + +2008-07-19 Olivier Hainque + + * dwarf2out.c (add_subscript_info): New explicit COLLAPSE_P + argument, saying whether nested array are to be collapsed + into a single array type DIE with multiple subscripts. + (gen_array_type_die): Factorize comments about the MIPS_DEBUG_INFO + issues, centralize the nested array types collapsing control and + disable the transformation for Ada. + +2008-07-18 Uros Bizjak + + PR target/36786 + * config/i386/i386.md (x86_64_shift_adj_1): Rename from + x86_64_shift_adj. + (x86_64_shift_adj_2): New expander. + (x86_64_shift_adj_3): Ditto. + * config/i386/i386.c (ix86_split_ashr): Use gen_x86_64_shift_adj_3 + to split TImode operands. + (ix86_split_ashl): Use gen_x86_64_shift_adj_2 to split TImode operands. + (ix86_split_lshr): Ditto. + +2008-07-18 Kris Van Hees + + * c-common.c (c_stddef_cpp_builtins): Define __CHAR16_TYPE__ + and __CHAR32_TYPE__. + * c-typeck.c (digest_init): Support char16_t and char32_t. + (set_nonincremental_init_from_string): Idem. + +2008-07-18 H.J. Lu + + PR middle-end/36859 + * builtins.c (std_gimplify_va_arg_expr): Limit alignment to + PREFERRED_STACK_BOUNDARY. + * config/i386/i386.c (ix86_gimplify_va_arg): Likewise. + +2008-07-18 H.J. Lu + + PR middle-end/36858 + * function.c (locate_and_pad_parm): Cap boundary earlier. + +2008-07-17 Julian Brown + + * config/arm/arm.c (arm_cxx_determine_class_data_visibility): Make + no-op for targets which don't use DLLs. + +2008-07-17 Martin Jambor + + * ipa-cp.c (ipcp_print_all_lattices): New variable info, check + that nodes are relevant by examining the node->analyzed flag. + (ipcp_init_stage): Check which nodes are relevant, assert that the + relevant ones are also required. + (ipcp_propagate_stage): Check on the side arrays are properly + allocated. + (ipcp_print_all_jump_functions): Make sure not to touch any node + that is not analyzed or an edge that does not have a corresponding + entry in the on-the-side vectors. + (ipcp_function_scale_print): Likewise. + (ipcp_update_callgraph): Check that the node is relevant. + (ipcp_insert_stage): Check that the node is relevant. Check there is + an info for every node and edge. + * ipa-prop.c (ipa_init_func_list): Check the nodes are relevant. + (ipa_print_all_tree_maps): Likewise and a new variable info. + (ipa_print_all_params_modified): Likewise. + * ipa-prop.h (ipa_edge_args_info_available_for_edge_p): New function. + +2008-07-17 Roman Zippel + + PR target/25343 + * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __mc68000__. + +2008-07-17 Paolo Bonzini + + PR rtl-optimization/36753 + * fwprop.c (use_killed_between): Don't shortcut + single-definition global registers. + +2008-07-16 Jan Hubicka + + * cgraph.h (varpool_empty_needed_queue): Declare. + * cgraphunit.c (output_in_order): Mark all variables as needed; + empty the queue. + * varpool.c (varpool_assemble_node): Update debug queue. + (varpool_assemble_pending_decls): Don't do it here. + (varpool_empty_needed_queue): New function. + +2008-07-16 Kaveh R. Ghazi + + * recog.c (peephole2_optimize): Fix formatting. + +2008-07-16 Kaveh R. Ghazi + + * c-pch.c (get_ident): Avoid C++ keywords. + * combine-stack-adj.c (single_set_for_csa): Likewise. + * final.c (asm_insn_count, final_scan_insn, alter_subreg, + output_asm_insn): Likewise. + * reload.c (push_secondary_reload, find_reusable_reload, + push_reload, combine_reloads, find_reloads, + debug_reload_to_stream): Likewise. + * reload.h (struct reload): Likewise. + * reload1.c (reload_reg_class_lower, find_reg, find_reload_regs, + allocate_reload_reg, choose_reload_regs, emit_input_reload_insns, + emit_output_reload_insns): Likewise. + * targhooks.c (default_secondary_reload): Likewise. + * varasm.c (section_entry_eq, object_block_entry_eq): Likewise. + +2008-07-16 Kaveh R. Ghazi + + * recog.c (validate_change_1, validate_change, + validate_unshare_change, validate_replace_rtx_1, struct + funny_match, constrain_operands, peephole2_optimize): Avoid C++ + keywords. + * reload.c (push_secondary_reload, secondary_reload_class, + scratch_reload_class, find_valid_class, find_reusable_reload, + push_reload, find_dummy_reload, find_reloads_address_1, + find_reloads_address_part, find_equiv_reg): Likewise. + * reload1.c (spill_failure, eliminate_regs_1, allocate_reload_reg, + choose_reload_regs): Likewise. + * rtlanal.c (replace_rtx, nonzero_bits1, num_sign_bit_copies1): + Likewise. + * rtlhooks.c (gen_lowpart_if_possible): Likewise. + * sched-ebb.c (add_deps_for_risky_insns): Likewise. + * sched-rgn.c (concat_INSN_LIST): Likewise. + * stor-layout.c (mode_for_size, mode_for_size_tree, + smallest_mode_for_size): Likewise. + +2008-07-16 Kaveh R. Ghazi + + * cfg.c (dump_reg_info): Avoid C++ keywords. + * dwarf2asm.c (dw2_force_const_mem, + dw2_asm_output_encoded_addr_rtx): Likewise. + * except.c (gen_eh_region, add_action_record, output_ttype): Likewise. + * expmed.c (expand_shift): Likewise. + * global.c (find_reg): Likewise. + * graph.c (draw_edge): Likewise. + * local-alloc.c (reg_meets_class_p, find_free_reg): Likewise. + * optabs.c (expand_binop, expand_twoval_unop, expand_twoval_binop, + widen_clz, widen_bswap, expand_parity, expand_unop, + emit_cmp_and_jump_insn_1): Likewise. + * postreload.c (reload_cse_simplify_operands): Likewise. + * ra.h (add_neighbor): Likewise. + * reg-stack.c (remove_regno_note, change_stack): Likewise. + * regclass.c (memory_move_secondary_cost, dump_regclass, regclass, + record_reg_classes, copy_cost, record_address_regs, + invalid_mode_change_p): Likewise. + * regrename.c (regrename_optimize, scan_rtx_reg, + dump_def_use_chain, find_oldest_value_reg, + replace_oldest_value_reg, copyprop_hardreg_forward_1): Likewise. + +2008-07-16 David Edelsohn + + * config/rs6000/rs6000.c (processor_target_table): Remove duplicate + MASK_POWERPC64 for power4 in previous commit. + +2008-07-16 Olivier Hainque + + * collect2.c (scan_prog_file, COFF version): Use CONST_CAST + instead of bare conversion to cast const-ness away. + +2008-07-16 Anatoly Sokolov + + * config/xtensa/xtensa.h (FUNCTION_OUTGOING_VALUE, + XTENSA_FUNCTION_VALUE, XTENSA_FUNCTION_VALUE): Remove. + * config/xtensa/xtensa.c (xtensa_function_value): New function. + (TARGET_FUNCTION_VALUE): Define. + 2008-07-16 David Edelsohn * config/rs6000/rs6000.c (processor_target_table): Add @@ -64,11 +354,9 @@ * caller-save.c (insert_restore, insert_save, insert_one_insn): Likewise. * combine.c (subst, simplify_set, make_extraction, - make_compound_operation, known_cond, simplify_shift_const_1): - Likewise. + make_compound_operation, known_cond, simplify_shift_const_1): Likewise. * cse.c (make_regs_eqv, merge_equiv_classes, validate_canon_reg, - fold_rtx, equiv_constant, cse_insn, cse_process_notes_1): - Likewise. + fold_rtx, equiv_constant, cse_insn, cse_process_notes_1): Likewise. 2008-07-15 Richard Guenther @@ -172,8 +460,7 @@ * tree-ssa-sccvn.c (pre_info): Remove. (switch_to_PRE_table): Likewise. - (free_scc_vn): Do not clear SSA_NAME_VALUE. - Do not free pre_info. + (free_scc_vn): Do not clear SSA_NAME_VALUE. Do not free pre_info. (set_hashtable_value_ids): Do not create value-ids for the optimistic tables. (run_scc_vn): Remove double test. Remove bogus special-case @@ -195,8 +482,7 @@ 2008-07-14 Richard Guenther - * tree-ssa-pre.c (insert_into_preds_of_block): Do not call - convert. + * tree-ssa-pre.c (insert_into_preds_of_block): Do not call convert. 2008-07-14 Andreas Krebbel @@ -226,8 +512,7 @@ 2008-07-13 Daniel Berlin - * tree-ssa-pre.c (fully_constant_expression): Add fold_convert - calls. + * tree-ssa-pre.c (fully_constant_expression): Add fold_convert calls. (create_expression_by_pieces): Fix typo. (do_regular_insertion): Use debug counter here too. @@ -358,8 +643,7 @@ 2008-07-10 Daniel Berlin - * tree-ssa-pre.c (create_expression_by_pieces): Add fold_convert - calls. + * tree-ssa-pre.c (create_expression_by_pieces): Add fold_convert calls. (eliminate): Ditto. (execute_pre): Call loop_optimizer_finalize in early exit. @@ -539,8 +823,7 @@ 2008-07-08 Jakub Jelinek - * tree-sra.c (sra_build_assignment): Handle CONVERT_EXPR_P - dst. + * tree-sra.c (sra_build_assignment): Handle CONVERT_EXPR_P dst. 2008-07-05 Daniel Berlin @@ -548,7 +831,7 @@ Fix PR tree-optimization/35286 Fix PR tree-optimization/35287 * Makefile.in (OBJS-common): Remove tree-vn.o. - tree-vn.o: Remove. + (tree-vn.o): Remove. * dbgcnt.def: Add treepre_insert debug counter. * gcc/tree-flow.h (add_to_value): Updated for other changes. (debug_value_expressions): Ditto. @@ -586,23 +869,19 @@ (value_id_constant_p): Ditto. (vn_reference_compute_hash): De-staticify. (copy_reference_ops_from_ref): Don't use get_callee_fndecl. - Disable some code with a FIXME. - Remove VALUE_HANDLE use. - (valueize_refs): Update opcode if it changes from ssa name to - constant. + Disable some code with a FIXME. Remove VALUE_HANDLE use. + (valueize_refs): Update opcode if it changes from ssa name to constant. (vn_reference_lookup_1): Add new argument. (vn_reference_lookup): Ditto. (vn_reference_lookup_pieces): New function. - (vn_reference_insert): Add return type. Modify to deal with value - ids. + (vn_reference_insert): Add return type. Modify to deal with value ids. (vn_reference_insert_pieces): New function. (vn_nary_op_compute_hash): De-staticify. (vn_nary_op_eq): Ditto. (vn_nary_op_lookup_pieces): New function. (vn_nary_op_lookup): Add new argument. (vn_nary_op_insert_pieces): New function. - (vn_nary_op_insert): Add return type. Modify to deal with value - ids. + (vn_nary_op_insert): Add return type. Modify to deal with value ids. (vn_phi_insert): Ditto. (visit_unary_op): Update for callee changes. (visit_binary_op): Ditto. @@ -682,17 +961,16 @@ 2008-07-07 Fernando Pereira - * tree-ssa-structalias.c (compute_points_to_sets): Add call to - dump_constraint_graph. - (dump_constraint_edge): New function. - (dump_constraint_graph): New function. - (debug_constraint_graph): New function. - (dump_constraint): Removed useless comparison. - * tree-ssa-structalias.h (dump_constraint_edge): Declare. - (dump_constraint_graph): Declare. - (debug_constraint_graph): Declare. - * tree-dump.c (struct dump_option_value_info): Declare - TDF_GRAPH. + * tree-ssa-structalias.c (compute_points_to_sets): Add call to + dump_constraint_graph. + (dump_constraint_edge): New function. + (dump_constraint_graph): New function. + (debug_constraint_graph): New function. + (dump_constraint): Removed useless comparison. + * tree-ssa-structalias.h (dump_constraint_edge): Declare. + (dump_constraint_graph): Declare. + (debug_constraint_graph): Declare. + * tree-dump.c (struct dump_option_value_info): Declare TDF_GRAPH. 2008-07-07 Kai Tietz @@ -757,8 +1035,7 @@ 2008-07-07 Daniel Jacobowitz - * function.c (assign_parm_remove_parallels): Check mode of - entry_parm. + * function.c (assign_parm_remove_parallels): Check mode of entry_parm. (assign_parm_setup_block_p): Also check mode of entry_parm. 2008-07-07 Richard Guenther @@ -928,14 +1205,13 @@ 2008-07-04 Roger Sayle - * config/rs6000/host-darwin.c (darwin_rs6000_extra_siganls): Cast + * config/rs6000/host-darwin.c (darwin_rs6000_extra_signals): Cast the "void*" result of xmalloc to "char*" to fix bootstrap breakage. 2008-07-04 Kaz Kojima PR target/36684 - * config/sh/sh.h (OVERRIDE_OPTIONS): Disable -fschedule-insns - for PIC. + * config/sh/sh.h (OVERRIDE_OPTIONS): Disable -fschedule-insns for PIC. 2008-07-04 Jakub Jelinek @@ -980,8 +1256,7 @@ Likewise. * ggc-common.c (hash_descriptor, eq_descriptor, hash_ptr, eq_ptr, loc_descriptor, ggc_prune_ptr, ggc_free_overhead, - final_cmp_statistic, cmp_statistic, dump_ggc_loc_statistics): - Likewise. + final_cmp_statistic, cmp_statistic, dump_ggc_loc_statistics): Likewise. * varray.c (hash_descriptor, eq_descriptor, varray_descriptor): Likewise.