X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=069a96cae7d658aa86bb5c997d76a7744e7d0df6;hp=ee78860f8e0d931fe0a7eee7e0fd76a23b536be5;hb=a45338e683d4365b5f7985f31f3550e92ed2aac8;hpb=a43fd3a5b89ea847b3e7571d2d878a24d29fe17c diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ee78860f8e0..069a96cae7d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,304 @@ +2009-03-11 Jason Merrill + + PR debug/39086 + * tree-nrv.c (tree_nrv): Don't do this optimization if the front + end already did. Notice GIMPLE_CALL modifications of the result. + Don't copy debug information from an ignored decl or a decl from + another function. + +2009-03-10 Richard Guenther + Nathan Froyd + + PR middle-end/37850 + * libgcc2.c (__mulMODE3): Use explicit assignments to form the + result. + (__divMODE3): Likewise. + +2009-03-09 Jakub Jelinek + + PR tree-optimization/39394 + * gimplify.c (gimplify_type_sizes): Gimplify DECL_SIZE and + DECL_SIZE_UNIT of variable length FIELD_DECLs. + +2009-03-09 Andreas Krebbel + + * recog.c (verfiy_changes): Disallow renaming of hard regs in + inline asms for register asm ("") declarations. + +2009-03-09 Eric Botcazou + + * fold-const.c (fold_unary): Fix comment. + +2009-03-07 Jan Hubicka + + PR target/39361 + * tree-inline.c (setup_one_parameter): Do replacement of const argument + by constant in SSA form. + +2009-03-07 Ulrich Weigand + + PR middle-end/38028 + * function.c (assign_parm_setup_stack): Use STACK_SLOT_ALIGNMENT to + determine alignment passed to assign_stack_local. + (assign_parms_unsplit_complex): Likewise. + * except.c (sjlj_build_landing_pads): Likewise. + +2009-03-06 Jakub Jelinek + + PR middle-end/39360 + * tree-flow.h (add_referenced_var): Return bool instead of void. + * tree-dfa.c (add_referenced_var): Return result of + referenced_var_check_and_insert call. + * tree-inline.c (expand_call_inline): Call add_referenced_var instead + of referenced_var_check_and_insert. + + PR debug/39372 + * dwarf2out.c (add_abstract_origin_attribute): Return + origin_die. + (gen_variable_die): Emit DW_AT_location on abstract static variable's + DIE, don't emit it if abstract origin already has it. + * tree-cfg.c (remove_useless_stmts_bind): GIMPLE_BINDs with any + BLOCK_NONLOCALIZED_VARS in its gimple_bind_block aren't useless. + +2009-03-06 Jan-Benedict Glaw + + * genpreds.c: (needs_variable): Fix parentheses at variable name + detection. + (write_tm_constrs_h): Indent generated code. + +2009-03-06 Ramana Radhakrishnan + + * doc/extend.texi (Function Attributes): Add documentation + for isr attributes. + +2009-03-06 Jakub Jelinek + + PR debug/39387 + * dwarf2out.c (dwarf2out_imported_module_or_decl_1): For IMPORTED_DECL + take locus from its DECL_SOURCE_LOCATION instead of input_location. + +2009-03-05 Bernd Schmidt + + * config/bfin/bfin.c (bfin_discover_loop): When retrying fails, mark + the loop as bad. + +2009-03-05 Jakub Jelinek + + PR debug/39379 + * tree-cfg.c (remove_useless_stmts_bind): Don't remove GIMPLE_BINDs + with blocks containing IMPORTED_DECLs in BLOCK_VARS. + +2009-03-05 Uros Bizjak + + * config/i386/i386.md (R8_REG, R9_REG): New constants. + * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Use named + constants instead of magic numbers. + (HARD_REGNO_CALLER_SAVE_MODE): Ditto. + (QI_REG_P): Ditto. + * config/i386/i386.c (x86_64_int_parameter_registers): Ditto. + (x86_64_ms_abi_int_parameter_registers): Ditto. + (x86_64_int_return_registers): Ditto. + (ix86_maybe_switch_abi): Ditto. + (ix86_expand_call): Ditto for clobbered_registers array. + (ix86_hard_regno_mode_ok): Ditto. + (x86_extended_QIreg_mentioned_p): Ditto. + +2009-03-05 J"orn Rennecke + + PR tree-optimization/39349 + * cse.c (cse_insn): Fix loop to stop at VOIDmode. + + * combine.c (gen_lowpart_for_combine): Use omode when generating + clobber. + +2009-03-04 J"orn Rennecke + + PR rtl-optimization/39235 + * loop-iv.c (get_simple_loop_desc): Use XCNEW. + +2009-03-04 Zdenek Dvorak + + * graphite.c (nb_reductions_in_loop): Update simple_iv arguments. + +2009-03-04 Richard Guenther + + PR tree-optimization/39362 + * tree-ssa-sccvn.c (visit_use): Stores and copies from SSA_NAMEs + that occur in abnormal PHIs should be varying. + +2009-03-04 Zdenek Dvorak + + * tree-scalar-evolution.c (analyze_scalar_evolution_in_loop): + Extend comments. + (simple_iv): Take loop as an argument instead of statement. + * tree-scalar-evolution.h (simple_iv): Declaration changed. + * tree-ssa-loop-niter.c (number_of_iterations_exit): Update calls + to simple_iv. + * tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev): + Ditto. + * tree-parloops.c (loop_parallel_p, canonicalize_loop_ivs): Ditto. + * matrix-reorg.c (analyze_transpose): Ditto. + * tree-data-ref.c (dr_analyze_innermost): Ditto. + * tree-vect-analyze.c (vect_analyze_data_refs): Ditto. + * tree-predcom.c (ref_at_iteration): Ditto. + * tree-ssa-loop-prefetch.c (idx_analyze_ref): Ditto. + +2009-03-04 Richard Guenther + + PR tree-optimization/39358 + * tree-ssa-structalias.c (do_sd_constraint): Fix check for + escaped_id and callused_id. + (solve_graph): Likewise. + +2009-03-04 Richard Guenther + + PR tree-optimization/39339 + * tree-sra.c (try_instantiate_multiple_fields): Make it + no longer ICE on the above. + +2009-03-03 Joseph Myers + + * emit-rtl.c (adjust_address_1): Reduce offset to a signed value + that fits within Pmode. + +2009-03-03 Steve Ellcey + + PR middle-end/10109 + * tm.texi (LIBCALL_VALUE): Update description. + +2009-03-03 Steve Ellcey + + PR middle-end/34443 + * doc/extend.texi (section): Update description. + +2009-03-03 H.J. Lu + + PR middle-end/39345 + * tree-inline.c (remapped_type): New. + (can_be_nonlocal): Call remapped_type instead of remap_type. + +2009-03-03 Jakub Jelinek + + PR fortran/39354 + * gimplify.c (goa_stabilize_expr): Handle tcc_comparison, + TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR. + +2009-03-03 Richard Guenther + + PR middle-end/39272 + * tree.c (tree_nonartificial_location): New function. + * tree.h (tree_nonartificial_location): Declare. + * builtins.c (expand_builtin_memory_chk): Provide location + of the call location for artificial function pieces. + (maybe_emit_chk_warning): Likewise. + (maybe_emit_sprintf_chk_warning): Likewise. + (maybe_emit_free_warning): Likewise. + * expr.c (expand_expr_real_1): Likewise. + +2009-03-03 Jakub Jelinek + + PR tree-optimization/39343 + * tree-ssa-ccp.c (maybe_fold_offset_to_address): Don't check if + COMPONENT_REF t has ARRAY_TYPE. + +2009-03-02 Sebastian Pop + + PR middle-end/39335 + * tree-parloops.c (canonicalize_loop_ivs): Call fold_convert + when the type precision of the induction variable should be + larger than the type precision of nit. + (gen_parallel_loop): Update use of canonicalize_loop_ivs. + * graphite.c (graphite_loop_normal_form): Same. + * tree-flow.h (canonicalize_loop_ivs): Update declaration. + +2009-03-02 Uros Bizjak + + * config/i386/i386.md (ST?_REG, MM?_REG): New constants. + (*call_1_rex64_ms_sysv): Use named constants instead of magic + numbers to describe clobbered registers. + (*call_value_0_rex64_ms_sysv): Ditto. + * config/i386/mmx.md (mmx_emms): Ditto. + (mmx_femms): Ditto. + +2009-03-02 Richard Sandiford + + * config/mips/mips.c (mips_mdebug_abi_name): Fix the handling + of ABI_64. + +2009-03-02 Ulrich Weigand + + * config/spu/spu.c (TARGET_SECTION_TYPE_FLAGS): Define. + (spu_section_type_flags): New function. + +2009-03-02 Uros Bizjak + + * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy + reg_class_contents of FLOAT_REGS into a temporary. + +2009-03-02 Richard Guenther + Ira Rosen + + PR tree-optimization/39318 + * tree-vect-transform.c (vectorizable_call): Transfer the EH region + information to the vectorized statement. + +2009-03-01 Uros Bizjak + + * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not shadow "i" + variable. Use defined names instead of magic constants for REX SSE + registers. + +2009-03-01 Richard Guenther + + PR tree-optimization/39331 + * omp-low.c (lower_send_shared_vars): Do not receive new + values for the reference of DECL_BY_REFERENCE parms or results. + +2009-03-01 Jan Hubicka + + PR debug/39267 + * tree.h (BLOCK_NONLOCALIZED_VARS, BLOCK_NUM_NONLOCALIZED_VARS, + BLOCK_NONLOCALIZED_VAR): New macros. + (tree_block): Add nonlocalized_vars. + * dwarf2out.c (gen_formal_parameter_die, gen_variable_die, + gen_decl_die): Add origin argument. Allow generation of die with + origin at hand only. + (gen_member_die, gen_type_die_with_usage, force_decl_die, + declare_in_namespace, gen_namescpace_die, dwarf2out_decl): Update use + of gen_*. + (gen_block_die): Fix checking for unused blocks. + (process_scope_var): Break out from .... ; work with origins only. + (decls_for_scope) ... here; process nonlocalized list. + (dwarf2out_ignore_block): Look for nonlocalized vars. + * tree-ssa-live.c (remove_unused_scope_block_p): Look for nonlocalized + vars. + (dump_scope_block): Dump them. + * tree-inline.c (remap_decls): Handle nonlocalized vars. + (remap_block): Likewise. + (can_be_nonlocal): New predicate. + (copy_bind_expr, copy_gimple_bind): Update use of remap_block. + +2009-03-01 Ralf Wildenhues + + * configure: Regenerate. + 2009-03-01 Ralf Wildenhues + * optc-gen.awk: No need to duplicate option flags twice. + Reuse help texts for duplicate options which do not have + any. + + * gcc.c (display_help): Document --version. + + * gcc.c (main): If print_help_list and verbose_flag, ensure + driver output comes before subprocess output. + + * optc-gen.awk: Assign all remaining fields to help string, + space-separated, for multi-line help in *.opt. + + * doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only. + -Wno-pedantic-ms-format is for MinGW targets only. + * doc/options.texi (Option file format): Fix bad indentation, restoring dropped sentence. @@ -127,7 +426,7 @@ PR tree-optimization/39259 * tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and - alls_alloca function flags. + calls_alloca function flags. (copy_bb): Set calls_setjmp and alls_alloca function flags if such calls are detected. @@ -520,7 +819,7 @@ PR target/39149 * config/i386/i386.c (override_options): Correct warning - messages for -malign-loops, -malign-jumps and -malign-functions. + messages for -malign-loops, -malign-jumps and -malign-functions. 2009-02-13 H.J. Lu