X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=e724239e8fe50c71f7b9b260f2d2d19883cd8392;hp=c13d2435bd6c212fef779987f620946c8c5405d4;hb=83a23b050c3e304cdbfe91ddcad06d3a20aff63f;hpb=46fd96857cab3f710e50875afdf734655baea483 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c13d2435bd6..e724239e8fe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,229 @@ +2010-02-19 Mike Stump + + PR objc/43061 + * cgraphunit.c (process_function_and_variable_attributes): Check + DECL_PRESERVE_P instead of looking up attribute "used". + * ipa-pure-const.c (check_decl): Likewise. + * ipa-reference.c (has_proper_scope_for_analysis): Likewise. + * ipa-type-escape.c (has_proper_scope_for_analysis): Likewise. + * config/sol2.c (solaris_insert_attributes): Set DECL_PRESERVE_P + instead of attribute "used". + * config/sol2-c.c (solaris_pragma_init): Likewise. + (solaris_pragma_fini): Likewise. + +2010-02-19 Jakub Jelinek + + * ipa-struct-reorg.c (make_field_acc_node, gen_cluster, peel_field): + Use XCNEW instead of xcalloc. + (add_access_to_acc_sites, create_new_var_node, add_alloc_site): Use + XNEW instead of xmalloc. + (get_fields): Use XNEWVEC instead of xmalloc. + + PR debug/43084 + * ipa-struct-reorg.c (add_access_to_acc_sites): For debug stmts don't + populate vars array. + (create_new_general_access): For debug stmts just reset value. + (get_stmt_accesses): For accesses within debug stmts just record them + using add_access_to_acc_sites instead of preventing the peeling or + counting them as accesses. + + PR middle-end/42233 + * dojump.c (do_jump) : Invert priority. + +2010-02-19 Richard Guenther + + PR tree-optimization/42916 + * tree-vect-slp.c (vect_slp_analyze_bb): Count only real + instructions. + +2010-02-19 Andreas Schwab + + * configure.ac: Replace all uses of changequote in macro arguments + with proper quoting. + +2010-02-19 Jakub Jelinek + + PR middle-end/42233 + * loop-doloop.c (add_test): Adjust do_compare_rtx_and_jump caller. + +2010-02-19 Richard Guenther + + PR tree-optimization/42944 + * tree-ssa-alias.c (call_may_clobber_ref_p_1): Massage + test for aliasing with errno. + +2010-02-19 Jakub Jelinek + + PR middle-end/42233 + * expr.h (jumpifnot, jumpifnot_1, jumpif, jumpif_1, do_jump, + do_jump_1, do_compare_rtx_and_jump): Add PROB argument. + * dojump.c: Include output.h. + (inv): New inline function. + (jumpifnot, jumpifnot_1, jumpif, jumpif_1, do_jump_1, do_jump, + do_jump_by_parts_greater_rtx, do_jump_by_parts_greater, + do_jump_by_parts_zero_rtx, do_jump_by_parts_equality_rtx, + do_jump_by_parts_equality, do_compare_and_jump): Add PROB + argument, pass it down to other calls. + (do_compare_rtx_and_jump): Likewise. If PROB is not -1, + add REG_BR_PROB note to the conditional jump. + * cfgexpand.c (add_reg_br_prob_note): Removed. + (expand_gimple_cond): Don't call it, add the probability + as last argument to jumpif_1/jumpifnot_1. + * Makefile.in (dojump.o): Depend on output.h. + * builtins.c (expand_errno_check): Adjust do_compare_rtx_and_jump + callers. + * expmed.c (emit_store_flag_force, do_cmp_and_jump): Likewise. + * stmt.c (do_jump_if_equal): Likewise. + * cfgrtl.c (rtl_lv_add_condition_to_bb): Likewise. + * loop-unswitch.c (compare_and_jump_seq): Likewise. + * config/rs6000/rs6000.c (rs6000_aix_emit_builtin_unwind_init): + Likewise. + * optabs.c (expand_doubleword_shift, expand_abs): Likewise. + * expr.c (expand_expr_real_1): Adjust do_jump, jumpifnot and + jumpifnot_1 callers. + (expand_expr_real_2): Adjust jumpifnot_1 and do_compare_rtx_and_jump + callers. + (store_expr): Adjust jumpifnot caller. + (store_constructor): Adjust jumpif caller. + + PR middle-end/42233 + * gimplify.c (gimple_boolify): For __builtin_expect call + gimple_boolify also on its first argument. + +2010-02-18 Uros Bizjak + + * configure.ac (gnu-unique-object): Wrap regexps using [] in + changequote block. + (__stack_chk_fail): Ditto. Remove quadrigraphs. + * configure: Regenerated. + +2010-02-18 Ulrich Weigand + + * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call + lang_hooks.types_compatible_p instead of comptypes. + +2010-02-18 Sebastian Huber + + * config/arm/lib1funcs.asm (__prefer_thumb__): New define. + (udivsi3, aeabi_uidivmod, divsi3, aeabi_idivmod): Use Thumb-1 variant + if __prefer_thumb__ is defined. + +2010-02-18 Martin Jambor + + PR tree-optimization/43066 + * tree-sra.c (build_ref_for_offset_1): Return false on encountering an + array with zero-sized element type. + +2010-02-18 Jakub Jelinek + + * dwarf2out.c (add_var_loc_to_decl): Change last argument to + rtx, allocate struct var_loc_node here and return it to the + caller, and only if it is actually needed. + (dwarf2out_var_location): Adjust add_var_loc_to_decl caller, + move it earlier and return immediately if it returns NULL. + +2010-02-17 Mikael Pettersson + + * config/sparc/gas.h: New file. Restore + TARGET_ASM_NAMED_SECTION to its ELF default. + * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Do not + check !HAVE_GNU_AS. + * config/sparc/sparc.c (sparc_elf_asm_named_section): + Likewise. Add ATTRIBUTE_UNUSED to prototype. + * config.gcc (sparc*-*-linux*): Include sparc/gas.h + after sparc/sysv4.h. + +2010-02-17 Dave Korn + + * config/i386/mingw32.h (LIBGCJ_SONAME): Fix cut'n'pasto in DLL name. + +2010-02-17 Steven Bosscher + + * gensupport.c (process_one_cond_exec): Derive name for COND_EXEC + patterns from predicated pattern. + +2010-02-17 Uros Bizjak + + PR target/43103 + * config/i386/sse.md (xop_vpermil23): Use avxmodesuffixf2c + for insn mnemonic suffix. + +2010-02-17 Richard Guenther + + * tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis + to loop PHI nodes. + +2010-02-17 Jakub Jelinek + + PR debug/42918 + * caller-save.c (save_call_clobbered_regs): If BB ends with + a DEBUG_INSN, move any notes in between last real insn and the last + DEBUG_INSN after the last DEBUG_INSN. + +2010-02-16 Joern Rennecke + + * tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): + Fix return type. Fix argument type. Explain meaning of return value. + +2010-02-16 Richard Guenther + + PR tree-optimization/41043 + * tree-vrp.c (vrp_var_may_overflow): Only ask SCEV for real loops. + (vrp_visit_assignment_or_call): Do not ask SCEV for regular + statements ... + (vrp_visit_phi_node): ... but only for loop PHI nodes. + +2010-02-16 Ira Rosen + + PR tree-optimization/43074 + * tree-vectorizer.h (VECTORIZABLE_CYCLE_DEF): New. + * tree-vect-loop.c (vect_analyze_loop_operations): Add + vectorizable cycles in hybrid SLP check. + * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Likewise. + +2010-02-16 Richard Guenther + + * alias.c (memrefs_conflict_p): Distinguish must-alias from don't know. + (true_dependence): If memrefs_conflict_p computes must-alias + trust it. Move TBAA check after offset-based disambiguation. + (canon_true_dependence): Likewise. + +2010-02-16 Alexandre Oliva + + * params.def (PARAM_MAX_VARTRACK_SIZE): New. + * doc/invoke.texi: Document it. + * var-tracking.c: Include toplev.h and params.h. + (vt_find_locations): Return bool indicating success. Compute + hash sizes unconditionally. Check new parameter, report. + (variable_tracking_main_1): Check vt_find_locations results and + retry. Renamed from... + (variable_tracking_main): ... this. New wrapper to preserve + flag_var_tracking_assignments. + * Makefile.in (var-tracking.o): Adjust dependencies. + +2010-02-16 Jack Howarth + Jakub Jelinek + + PR target/42854 + * config/darwin.h (ASM_WEAKEN_DECL): Don't check weak attribute + if weak_import attribute is present. + * config/darwin.c (machopic_select_section): Likewise. + +2010-02-15 Joern Rennecke + + * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Document. + (TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE): Likewise. + (TARGET_VECTORIZE_BUILTIN_VEC_PERM): Likewise. + (TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK): Likewise. + + * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): Fix argument types. + + * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): + Fix argument types. + + * doc/tm.texi (TARGET_SCHED_DFA_NEW_CYCLE): Add argument names. + Rewrite text to refer to the names. + 2010-02-15 Sebastian Pop * config/i386/i386-builtin-types.def @@ -35,11 +261,10 @@ * config/h8300/h8300.c: (h8300_push_pop): Use bool type for boolean parameters. Use emit_jump_insn when emitting a pop instruction containing a return insn. - (push): Use 'true' rather than '1' as second parameter to F. - (h8300_expand_prologue): Likewise. - Use 'true' and 'false' for boolean parameters to - h8300_push_pop. - (h8300_expand_epilogue): Likewise. + (push): Use 'true' rather than '1' as second parameter to F. + (h8300_expand_prologue): Likewise. + Use 'true' and 'false' for boolean parameters to h8300_push_pop. + (h8300_expand_epilogue): Likewise. 2010-02-15 Richard Guenther @@ -205,11 +430,11 @@ PR target/42841 * config/sh/sh.c (find_barrier): Increase length for non delayed conditional branches. - + 2010-02-10 Christian Bruel * config/sh/sh.c (find_barrier): Don't emit a CP inside the GP setting. - + 2010-02-10 Jakub Jelinek * builtins.c (set_builtin_user_assembler_name): Also handle @@ -333,15 +558,13 @@ 2010-02-05 Richard Guenther - * tree-ssa-ccp.c (get_symbol_constant_value): Strip all - conversions. + * tree-ssa-ccp.c (get_symbol_constant_value): Strip all conversions. (fold_const_aggregate_ref): Likewise. (ccp_fold_stmt): Substitute loads. (maybe_fold_reference): Verify types before substituting. Unshare properly. (fold_gimple_assign): Unshare properly. - (fold_stmt_1): Insert conversion if necessary before replacing - the RHS. + (fold_stmt_1): Insert conversion if necessary before replacing the RHS. 2010-02-05 Nathan Froyd @@ -428,8 +651,7 @@ 2010-02-03 Richard Guenther PR tree-optimization/42944 - * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle - calloc. + * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle calloc. (call_may_clobber_ref_p_1): Likewise. Properly handle malloc and calloc clobbering errno. @@ -576,8 +798,7 @@ 2010-01-28 Richard Guenther PR tree-optimization/42871 - * tree-ssa-pre.c (phi_translate_set): Make sure to retain - leaders. + * tree-ssa-pre.c (phi_translate_set): Make sure to retain leaders. 2010-01-28 Richard Guenther @@ -1013,8 +1234,7 @@ PR tree-optimization/42781 * tree-ssa-structalias.c (find_what_var_points_to): Skip - restrict processing only if the original variable was - artificial. + restrict processing only if the original variable was artificial. 2010-01-18 Joern Rennecke @@ -1524,8 +1744,7 @@ 2010-01-14 Richard Guenther PR lto/42665 - * gimple.c (iterative_hash_gimple_type): Avoid hashing - error_mark_node. + * gimple.c (iterative_hash_gimple_type): Avoid hashing error_mark_node. 2010-01-14 Ira Rosen @@ -1583,8 +1802,7 @@ 2010-01-13 Richard Guenther PR tree-optimization/42705 - * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after - labels. + * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after labels. 2010-01-13 Richard Guenther @@ -1877,8 +2095,7 @@ PR tree-optimization/42625 * cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*, - TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body - aliases. + TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body aliases. 2010-01-07 Duncan Sands @@ -2217,8 +2434,7 @@ (BB_MAY_NOTRETURN): New. (valid_in_sets): Trapping nary operations are not valid in blocks that may not return. - (insert_into_preds_of_block): Remove check for trapping - expressions. + (insert_into_preds_of_block): Remove check for trapping expressions. (compute_avail): Compute also BB_MAY_NOTRETURN. 2010-01-03 Gerald Pfeifer