X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=229aa485e8999d15acb0db8fa1012162db497554;hp=f388c1cf56cb17a5afc078d62de3a17bba8b2ae2;hb=16ccc50c80088ce6e9407579b12927aba6036390;hpb=0eee494eebaebc082bcad4872a68b1a2ea819357 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f388c1cf56c..229aa485e89 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,198 @@ +2009-02-10 Jakub Jelinek + + PR middle-end/39124 + * cfgloopmanip.c (remove_path): Call remove_bbs after + cancel_loop_tree, not before it. + + PR target/39139 + * function.h (struct function): Add has_local_explicit_reg_vars + bit. + * gimplify.c (gimplify_bind_expr): Set it if local DECL_HARD_REGISTER + VAR_DECLs were seen. + * tree-ssa-live.c (remove_unused_locals): Recompute + cfun->has_local_explicit_reg_vars. + * tree-ssa-sink.c (statement_sink_location): Don't sink BLKmode + copies or clearings if cfun->has_local_explicit_reg_vars. + +2009-02-10 Uros Bizjak + + PR target/39118 + * config/i386/i386.c (expand_prologue): Emit blockage at the end + of function prologue when frame pointer is used to access + red zone area. + +2009-02-10 Richard Guenther + + PR middle-end/39127 + * gimplify.c (gimple_regimplify_operands): Always look if + we need to create a temporary. + +2009-02-10 Richard Guenther + + PR tree-optimization/39132 + * tree-loop-distribution.c (todo): New global var. + (generate_memset_zero): Trigger TODO_rebuild_alias. + (tree_loop_distribution): Return todo. + +2009-02-10 H.J. Lu + + PR target/39119 + * config/i386/i386.c (x86_64_reg_class): Remove X86_64_AVX_CLASS. + (x86_64_reg_class_name): Removed. + (classify_argument): Return 0 if bytes > 32. Return 0 if the + first one isn't X86_64_SSE_CLASS or any other ones aren't + X86_64_SSEUP_CLASS when size > 16bytes. Don't turn + X86_64_SSEUP_CLASS into X86_64_SSE_CLASS if the preceded one + is X86_64_SSEUP_CLASS. Set AVX modes to 1 X86_64_SSE_CLASS + and 3 X86_64_SSEUP_CLASS. + (construct_container): Remove X86_64_AVX_CLASS. Handle 4 + registers with 1 X86_64_SSE_CLASS and 3 X86_64_SSEUP_CLASS. + +2009-02-10 Ben Elliston + + * config/rs6000/rs6000.md (allocate_stack): Always use an update + form instruction to update the stack back chain word, even if the + user has disabled the generation of update instructions. + (movdi__update_stack): New. + (movsi_update_stack): Likewise. + * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Likewise, + always use an update form instruction to update the stack back + chain word. + +2009-02-09 Sebastian Pop + + PR middle-end/38953 + * graphite.c (if_region_set_false_region): After moving a region + in the false branch of a condition, remove the empty dummy basic block. + (gloog): Remove wrong fix for PR38953. + +2009-02-09 Ulrich Weigand + + * config/spu/spu.c (array_to_constant): Fix (latent) wrong-code + generation due to implicit sign extension. + +2009-02-09 Eric Botcazou + + PR middle-end/38981 + * tree-ssa-coalesce.c (add_coalesce): Cap the costs of coalesce pairs + at MUST_COALESCE_COST-1 instead of MUST_COALESCE_COST. + +2009-02-09 Richard Guenther + + PR middle-end/35202 + * convert.c (convert_to_real): Disable (float)fn((double)x) + to fnf(x) conversion if errno differences may occur and + -fmath-errno is set. + +2009-02-07 Anatoly Sokolov + + * config/avr/avr.c (avr_mcu_t): Add ata6289 device. + * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.). + * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.). + +2009-02-06 Joseph Myers + + PR c/35434 + * c-common.c (handle_alias_attribute): Disallow attribute for + anything not a FUNCTION_DECL or VAR_DECL. + +2009-02-06 Janis Johnson + + PR c/39035 + * real.c (do_compare): Special-case compare of zero against + decimal float value. + +2009-02-06 Joseph Myers + + PR c/36432 + * c-decl.c (grokdeclarator): Don't treat [] declarators in fields + as indicating flexible array members unless the field itself is + being declarared as the incomplete array. + +2009-02-06 Jan Hubicka + + PR tree-optimization/38844 + * ipa-inline.c (try_inline): Stop inlining recursion when edge + is already inlined. + +2009-02-06 Richard Guenther + + PR middle-end/38977 + * tree-cfg.c (need_fake_edge_p): Force a fake edge for + fork because we may expand it as __gcov_fork. + +2009-02-06 Nick Clifton + + * config/m32c/m32c.h (PCC_BITFIELD_TYPE_MATTERS): Define to zero. + +2009-02-06 Paolo Bonzini + + PR tree-optimization/35659 + * tree-ssa-sccvn.c (vn_constant_eq, vn_reference_eq, vn_nary_op_eq + vn_phi_eq): Shortcut if hashcode does not match. + (vn_reference_op_compute_hash): Do not call iterative_hash_expr for + NULL operands. + * tree-ssa-pre.c (pre_expr_hash): Look at hashcode if available, + and avoid iterative_hash_expr. + (FOR_EACH_VALUE_ID_IN_SET): New. + (value_id_compare): Remove. + (sorted_array_from_bitmap_set): Use FOR_EACH_VALUE_ID_IN_SET to + sort expressions by value id. + +2009-02-05 Kaz Kojima + + PR target/38991 + * config/sh/predicates.md (general_movsrc_operand): Don't check + the subreg of system registers here. + +2009-02-05 Jakub Jelinek + + PR c++/39106 + * cgraphunit.c (cgraph_function_versioning): Clear also DECL_VIRTUAL_P + on the copied decl. + +2009-02-05 Paolo Bonzini + + PR rtl-optimization/39110 + * rtlanal.c (rtx_addr_can_trap_p_1): Shortcut unaligned + addresses, not aligned ones. + +2009-02-05 Daniel Berlin + Richard Guenther + + PR tree-optimization/39100 + * tree-ssa-structalias.c (do_ds_constraint): Actually do what the + comment says and add edges. + +2009-02-05 Joseph Myers + + PR c/35435 + * c-common.c (handle_tls_model_attribute): Ignore attribute for + non-VAR_DECLs without checking DECL_THREAD_LOCAL_P. + +2009-02-04 Tobias Grosser + + * graphite.c (bb_in_sese_p, sese_build_livein_liveouts_use, + sese_build_livein_liveouts_bb, sese_build_livein_liveouts, + register_bb_in_sese, new_sese, free_sese): Moved. + (dot_scop_1, build_scop_loop_nests, build_loop_iteration_domains, + outermost_loop_in_scop, build_scop_iteration_domain, + expand_scalar_variables_ssa_name, get_vdef_before_scop, + limit_scops): Use bb_in_sese_p instead of bb_in_scop_p. + Use loop_in_sese_p instead of loop_in_scop_p. + (new_graphite_bb, gloog): Do not initialize SCOP_BBS_B. + (new_scop, free_scop): Remove SCOP_LOOP2CLOOG_LOOP and SCOP_BBS_B. + (scopdet_basic_block_info): Fix bug in scop detection. + (new_loop_to_cloog_loop_str, hash_loop_to_cloog_loop, + eq_loop_to_cloog_loop): Remove. + (nb_loops_around_loop_in_scop, nb_loop + ref_nb_loops): Moved here... + * graphite.h (ref_nb_loops): ... from here. + (struct scop): Remove bbs_b bitmap and loop2cloog_loop. + (loop_domain_dim, loop_iteration_vector_dim): Remove. + (SCOP_BBS_B, bb_in_scop_p, loop_in_scop_p): Removed. + * testsuite/gcc.dg/graphite/scop-19.c: New + 2009-02-04 Paolo Bonzini Hans-Peter Nilsson @@ -24,8 +219,7 @@ PR tree-optimization/38977 PR gcov-profile/38292 - * calls.c (special_function_p): Disregard __builtin_ - prefix. + * calls.c (special_function_p): Disregard __builtin_ prefix. 2009-02-04 Hariharan Sandanagobalane @@ -77,8 +271,7 @@ 2009-02-02 Catherine Moore - * sde.h (SUBTARGET_ARM_SPEC): Don;t assemble -fpic code as - -mabicalls. + * sde.h (SUBTARGET_ARM_SPEC): Don't assemble -fpic code as -mabicalls. 2009-02-02 Richard Sandiford @@ -145,8 +338,7 @@ PR target/38952 * config/i386/i386.c (ix86_builtin_setjmp_frame_value): New. - (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Override default to point - at it. + (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Override default to point at it. 2009-01-31 Richard Guenther @@ -235,8 +427,7 @@ * caller-save.c (setup_save_areas): Remove flag_ira. - * ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot): - Ditto. + * ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot): Ditto. * global.c: Remove the file. @@ -267,7 +458,7 @@ no_equiv, recorded_label_ref): Move from local-alloc.c. (update_equiv_regs): Ditto. Make it static. (print_insn_chain, print_insn_chains): Move it from global.c. - pseudo_for_reload_consideration_p): Ditto. Remove flag_ira. + (pseudo_for_reload_consideration_p): Ditto. Remove flag_ira. (build_insn_chain): Ditto. Make it static. (ra_init_live_subregs): Move from ra-conflict.c. Make it static. Rename to init_live_subregs. @@ -275,15 +466,13 @@ * regclass.c: Rename reginfo.c. Change file description. (FORBIDDEN_INC_DEC_CLASSES): Remove. - (reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec): - Remove. + (reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec): Remove. (init_reg_sets_1): Remove code for evaluation of reg_class_superclasses and losing_caller_save_reg_set. (init_regs): Remove init_reg_autoinc. (struct costs, costs, init_cost, ok_for_index_p_nonstrict, ok_for_base_p_nonstrict): Remove. - (regclass_init): Rename to reginfo_init. Don't initialize - init_cost. + (regclass_init): Rename to reginfo_init. Don't initialize init_cost. (pass_regclass_init): Rename to pass_reginfo_init. Modify corresponding entries. (dump_regclass, record_operand_costs, scan_one_insn, @@ -292,8 +481,7 @@ (gt-regclass.h): Rename to gt-reginfo.h. * rtl.h (dump_global_regs, retry_global_alloc, - build_insn_chain, dump_local_alloc, update_equiv_regs): - Remove. + build_insn_chain, dump_local_alloc, update_equiv_regs): Remove. * Makefile.in (RA_H): Remove. (OBJS-common): Remove global.o, local-alloc.o, and ra-conflict.o. @@ -304,8 +492,7 @@ (GTFILES): Rename regclass.c to reginfo.c. * passes.c (init_optimization_passes): Remove pass_local_alloc and - pass_global_alloc. Rename pass_regclass_init to - pass_reginfo_init. + pass_global_alloc. Rename pass_regclass_init to pass_reginfo_init. * reload1.c (compute_use_by_pseudos, reload, count_pseudo, count_spilled_pseudo, find_reg, alter_reg, delete_output_reload): @@ -413,8 +600,7 @@ 2009-01-28 Jakub Jelinek PR rtl-optimization/38740 - * reorg.c (gate_handle_delay_slots): Avoid dbr scheduling - if !optimize. + * reorg.c (gate_handle_delay_slots): Avoid dbr scheduling if !optimize. * config/mips/mips.c (mips_reorg): Likewise. 2009-01-28 Richard Guenther @@ -427,7 +613,7 @@ Revert 2008-08-21 Richard Guenther - + * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting a PHI ask VN if it is already available. * tree-ssa-sccvn.h (vn_phi_lookup): Declare. @@ -1078,7 +1264,7 @@ 2009-01-09 Diego Novillo - * gimple.h (struct gimple_statement_base): Document + * gimple.h (struct gimple_statement_base) : Document the restrictions on its use. (gimple_uid): Tidy. (gimple_set_uid): Tidy.