X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=2640f373a33f5b735ac772cd689382ec11a200f5;hp=d4b7860060811345bbc3d92c9a448dc17e1fe112;hb=53f9a00b0948fe141882b78a32a16ce89a78ec98;hpb=320084b9583c696b8b12a0ae4b341b2b538c9e83 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d4b78600608..2640f373a33 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,484 @@ +2009-03-01 Ralf Wildenhues + + * 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. + +2009-02-28 Jan Hubicka + + * tree-inline.c (tree_function_versioning): Output debug info. + +2009-02-28 Jan Hubicka + + PR debug/39267 + * tree-inline.c (setup_one_parameter): Do not copy propagate + arguments when not optimizing. + +2009-02-28 H.J. Lu + + PR target/39327 + * config/i386/sse.md (avx_addsubv8sf3): Correct item bits. + (avx_addsubv4df3): Likewise. + (*avx_addsubv4sf3): Likewise. + (sse3_addsubv4sf3): Likewise. + (*avx_addsubv2df3): Likewise. + (sse3_addsubv2df3): Likewise. + (avx_unpckhps256): Correct item selectors. + (avx_unpcklps256): Likewise. + (avx_unpckhpd256): Likewise. + (avx_unpcklpd256): Likewise. + +2009-02-28 Jan Hubicka + + * tree-inline.c (expand_call_inline): Avoid duplicate declarations of + static vars. + (copy_arguments_for_versioning): If var is declared don't declare it. + (tree_function_versioning): First setup substitutions and then copy + args. + +2009-02-27 Jan Hubicka + + PR debug/39267 + * cgraph.h (varpool_output_debug_info): Remove. + * cgraphunit.c (varpool_output_debug_info): Remove. + * dwarf2out.c (deferred_locations_struct): New struct + (deferred_locations): New type. + (deferred_locations_list): New static var. + (deffer_location): New function. + (gen_variable_die): Use it. + (decls_for_scope): Output info on local static vars. + (dwarf2out_finish): Process deferred locations. + * varpool.c (varpool_output_debug_info): Remove. + +2009-02-27 Jan Hubicka + + PR debug/39267 + * tree.h (TREE_PROTECTED): Fix comment. + (BLOCK_HANDLER_BLOCK): Remove. + (struct tree_block): Remove handler_block add body_block. + (inlined_function_outer_scope_p): New. + (is_body_block): Remove. + * dbxout.c (dbxout_block): Remove BLOCK_HANDLER_BLOCK. + * dwarf2out.c (is_inlined_entry_point): Remove. + (add_high_low_attributes): Use inlined_function_outer_scope_p. + (gen_block_die): Use is_inlined_entry_point check. Remove body block + code. + * langhooks.h (struct lang_hooks): Remove no_bodu_blocks. + * gimplify.c (gimplify_expr): Gimplify body blocks. + * tree-ssa-live.c (remove_unused_scope_block_p): Allow removing wrapper + block with multiple subblocks. + (dump_scope_block): Prettier output; dump more flags and info. + (dump_scope_blocks): New. + (remove_unused_locals): Use dump_scope_blocks. + * tree-flow.h (dump_scope_blocks): Declare. + * tree-cfg.c (execute_build_cfg): Dump scope blocks. + * stmt.c (is_body_block): Remove. + * tree-inline.c (remap_block): Copy BODY_BLOCK info. + * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): Remove. + +2009-02-27 Sebastian Pop + + PR middle-end/39308 + * graphite.c (graphite_loop_normal_form): Do not call + number_of_iterations_exit from a gcc_assert. + +2009-02-27 Andreas Krebbel + + * gcc/config/s390/s390.c: (s390_swap_cmp): Look for conditional + jumps if COND is NULL. + (find_cond_jump): New function. + (s390_z10_optimize_cmp): Handling for reg-reg compares added. + * gcc/config/s390/s390.md: Remove z10_cobra attribute value. + +2009-02-26 Uros Bizjak + + * config/alpha/alpha.h (alpha_expand_mov): Return false if + force_const_mem returns NULL_RTX. + +2009-02-26 Jan Hubicka + + PR debug/39267 + * cgraph.h (varpool_output_debug_info): Remove. + * cgraphunit.c (varpool_output_debug_info): Remove. + * dwarf2out.c (deferred_locations_struct): New struct + (deferred_locations): New type. + (deferred_locations_list): New static var. + (deffer_location): New function. + (gen_variable_die): Use it. + (decls_for_scope): Output info on local static vars. + (dwarf2out_finish): Process deferred locations. + * varpool.c (varpool_output_debug_info): Remove. + +2009-02-25 H.J. Lu + + PR rtl-optimization/39241 + * jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls + to subreg_offset_representable_p. + +2009-02-25 Paolo Bonzini + + * regmove.c (regmove_optimize): Conform to struct rtl_opt_pass + execute function prototype. Get f and nregs from max_reg_num + and get_insns. Remove the first backward pass as it's dead, + guard the forward pass by flag_expensive_optimizations. + (rest_of_handle_regmove): Delete. + (pass_regmove): Replace it with regmove_optimize. + +2009-02-25 Martin Jambor + + PR tree-optimization/39259 + * tree-inline.c (initialize_cfun): Remove asserts for calls_setjmp and + alls_alloca function flags. + (copy_bb): Set calls_setjmp and alls_alloca function flags if such + calls are detected. + +2009-02-25 Paolo Bonzini + + * regmove.c (discover_flags_reg, flags_set_1, mark_flags_life_zones, + flags_set_1_rtx, flags_set_1_set): Delete. + (regmove_optimize): Do not call mark_flags_life_zones. + +2009-02-24 Julian Brown + + PR target/35965 + * config/arm/arm.c (require_pic_register): Only set + cfun->machine->pic_reg once per function. + +2009-02-24 Sandra Loosemore + + * doc/invoke.texi (Link Options): Document an easier way to pass + options that take arguments to the GNU linker using -Xlinker and -Wl. + +2009-02-24 Steve Ellcey + + PR target/33785 + * doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description. + +2009-02-24 Richard Guenther + + PR debug/39285 + * dwarf2out.c (gen_enumeration_type_die): Handle CONST_DECLs. + +2009-02-24 Richard Guenther + Zdenek Dvorak + + PR tree-optimization/39233 + * tree-ssa-loop-ivopts.c (add_candidate_1): Do not except pointers + from converting them to a generic type. + +2009-02-23 Sebastian Pop + + PR tree-optimization/39260 + * graphite.c (harmful_stmt_in_bb): Stop a SCoP when the basic block + contains a condition with a real type. + (build_scop_conditions_1): Conditions are always last_stmt of a bb. + +2009-02-23 Jason Merrill + + PR c++/38880 + * varasm.c (initializer_constant_valid_p) [PLUS_EXPR]: Check + narrowing_initializer_constant_valid_p. + (narrowing_initializer_constant_valid_p): Don't return + null_pointer_node for adding a pointer to itself. + +2009-02-23 Jan Hubicka + + PR c/12245 + * ggc.h (htab_create_ggc): Use ggc_free to free hashtable when + resizing. + +2009-02-23 Jan Hubicka + + PR tree-optimization/37709 + * tree.c (block_ultimate_origin): Move here from dwarf2out. + * tree.h (block_ultimate_origin): Declare. + * dwarf2out.c (block_ultimate_origin): Move to tree.c + * tree-ssa-live.c (remove_unused_scope_block_p): + Eliminate blocks containig no instructions nor live variables nor + nested blocks. + (dump_scope_block): New function. + (remove_unused_locals): Enable removal of dead blocks by default; + enable dumping at TDF_DETAILS. + +2009-02-21 H.J. Lu + + * config/i386/i386.c (classify_argument): Don't allow COImode + and OImode. + (function_arg_advance_32): Don't allow OImode. + (function_arg_32): Likewise. + (function_value_32): Likewise. + (return_in_memory_32): Likewise. + (function_arg_64): Remove OImode comment. + +2009-02-21 H.J. Lu + + PR target/39261 + * config/i386/i386.c (ix86_expand_vector_init_one_nonzero): Use + ix86_expand_vector_set for V4DImode in 64bit mode only. + (ix86_expand_vector_init_one_var): Likewise. + +2009-02-21 Sebastian Pop + + * graphite.c (graphite_trans_loop_block): Adjust tile size to 51. + +2009-02-21 Richard Sandiford + + PR bootstrap/39257 + * loop-iv.c: Revert last change. + * emit-rtl.c: Likewise. + +2009-02-21 H.J. Lu + + PR target/39256 + * config/i386/i386.c (type_natural_mode): Remove an extra + space in the warning message. + (function_value_32): Handle 32-byte vector modes. + (return_in_memory_32): Likewise. + +2009-02-21 Richard Sandiford + + * loop-iv.c (truncate_value): New function. + (iv_subreg, get_iv_value, iv_number_of_iterations): Use it instead + of lowpart_subreg. + (lowpart_subreg): Move to... + * emit-rtl.c: ...here. + +2009-02-21 Danny Smith + + * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert + accidental and undocumented change at revision 140860. + +2009-02-21 Joseph Myers + + * config/arm/arm.c (arm_gimplify_va_arg_expr): Update prototype to + take gimple_seq * arguments. + (arm_mangle_type): Use CONST_CAST_TREE on type argument passed to + types_compatible_p langhook. + +2009-02-20 Mark Mitchell + Joseph Myers + + * config/arm/arm.c (arm_builtin_va_list): New function. + (arm_expand_builtin_va_start): Likewise. + (arm_gimplify_va_arg_expr): Likewise. + (TARGET_BUILD_BUILTIN_VA_LIST): Define. + (TARGET_BUILD_BUILTIN_VA_START): Likewise. + (TARGET_BUILD_BUILTIN_VA_ARG_EXPR): Likewise. + (va_list_type): New variable. + (arm_mangle_type): Mangle va_list_type appropriately. + +2009-02-20 Jakub Jelinek + + PR middle-end/39157 + * Makefile.in (loop-invariant.o): Depend on $(PARAMS_H). + * params.h (LOOP_INVARIANT_MAX_BBS_IN_LOOP): Define. + * params.def (loop-invariant-max-bbs-in-loop): New parameter. + * opts.c (decode_options): Set loop-invariant-max-bbs-in-loop + parameter to 1000 for -O1 by default. + * doc/invoke.texi (loop-invariant-max-bbs-in-loop): Document new + parameter. + * loop-invariant.c: Include params.h. + (move_loop_invariants): Don't call move_single_loop_invariants on + very large loops. + +2009-02-20 Jaka Mocnik + + * calls.c (emit_library_call_value_1): Use slot_offset instead of + offset when calculating bounds for indexing stack_usage_map. Fixes + a buffer overflow with certain target setups. + +2009-02-20 Jakub Jelinek + + PR target/39240 + * calls.c (expand_call): Clear try_tail_call if caller and callee + disagree in promotion of function return value. + +2009-02-19 Jakub Jelinek + + PR target/39175 + * c-common.c (c_determine_visibility): If visibility changed and + DECL_RTL has been already set, call make_decl_rtl to update symbol + flags. + +2009-02-19 H.J. Lu + + PR c++/39188 + * varasm.c (assemble_variable): Don't check DECL_NAME when + globalizing a variable. + +2009-02-19 Joseph Myers + + PR c/38483 + * builtins.c (gimplify_va_arg_expr): Evaluate the va_list + expression before any __builtin_trap call. + * c-typeck.c (build_function_call): Convert and check function + arguments before generating a call to a trap. Evaluate the + function arguments before the trap. + +2009-02-19 Uros Bizjak + + PR target/39228 + * config/i386/i386.md (isinfxf2): Split from isinf2. + (UNSPEC_FXAM_MEM): New unspec. + (fxam2_i387_with_temp): New insn and split pattern. + (isinf2): Use MODEF mode iterator. Force operand[1] through + memory using fxam2_i387_with_temp to remove excess precision. + +2009-02-19 Richard Guenther + + PR tree-optimization/39207 + PR tree-optimization/39074 + * tree-ssa-structalias.c (storedanything_id, var_storedanything, + storedanything_tree): New. + (do_ds_constraint): Simplify ANYTHING shortcutting. Update + the STOREDANYTHING solution if the lhs solution contains ANYTHING. + (build_succ_graph): Add edges from STOREDANYTHING to all + non-direct nodes. + (init_base_vars): Initialize STOREDANYTHING. + (compute_points_to_sets): Free substitution info after + building the succ graph. + (ipa_pta_execute): Likewise. + + * tree-ssa-structalias.c (struct variable_info): Add may_have_pointers + field. + (do_ds_constraint): Do not add to special var or non-pointer + field solutions. + (type_could_have_pointers): Split out from ... + (could_have_pointers): ... here. For arrays use the element type. + (create_variable_info_for): Initialize may_have_pointers. + (new_var_info): Likewise. + (handle_lhs_call): Make the HEAP variable unknown-sized. + (intra_create_variable_infos): Use a type with pointers for + PARM_NOALIAS, make it unknown-sized. + +2009-02-18 H.J. Lu + + PR target/39224 + * config/i386/i386.c (ix86_return_in_memory): Properly check ABI. + +2009-02-18 Jason Merrill + + PR target/39179 + * tree-ssa-ccp.c (get_symbol_constant_value): Don't assume zero + value if DECL_EXTERNAL. + * tree-sra.c (sra_walk_gimple_assign): Likewise. + * target.h (gcc_target::binds_local_p): Clarify "module". + * tree.h (TREE_PUBLIC): Clarify "module". + +2009-02-17 Xuepeng Guo + + PR target/38891 + * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Move the hunk of + initialization for MS_ABI prior to the hunk of !TARGET_MMX. + +2009-02-17 H.J. Lu + + PR target/39082 + * c.opt (Wabi): Support C and ObjC. + (Wpsabi): New. + + * c-opts.c (c_common_handle_option): Handle OPT_Wabi. + + * config/i386/i386.c (classify_argument): Warn once about the ABI + change when passing union with long double. + + * doc/invoke.texi: Update -Wabi for warning psABI changes. + +2009-02-18 Joseph Myers + + PR c/35447 + * c-parser.c (c_parser_compound_statement): Always enter and leave + a scope. + +2009-02-17 John David Anglin + + PR target/34587 + * config/darwin.h (SUPPORTS_INIT_PRIORITY): Define. + +2009-02-18 Jakub Jelinek + + PR tree-optimization/36922 + * tree-data-ref.c (initialize_matrix_A): Handle BIT_NOT_EXPR. + * tree-scalar-evolution.c (interpret_rhs_expr, instantiate_scev_1): + Likewise. + +2009-02-17 Richard Sandiford + + * config/mips/mips.c (mips_override_options): Set flag_dwarf2_cfi_asm + to 0 for EABI64. + +2009-02-17 Richard Sandiford + + * config/mips/mips.md (type): Reclassify lui_movf as "unknown". + +2009-02-17 Richard Sandiford + + * config/mips/mips.c (mips_gimplify_va_arg_expr): Fix invalid + tree sharing. + +2009-02-17 Ruan Beihong + Richard Sandiford + + * config/mips/mips.c (CODE_FOR_loongson_biadd): Delete. + * config/mips/loongson.md (reduc_uplus_): Rename to... + (loongson_biadd): ...this. + +2009-02-17 Richard Guenther + + PR tree-optimization/39202 + * tree-ssa-structalias.c (do_structure_copy): Before collapsing + a var make sure to follow existing collapses. + +2009-02-17 Richard Guenther + + PR middle-end/39214 + * langhooks.c (lhd_print_error_function): Check for NULL block. + +2009-02-17 Richard Guenther + + PR tree-optimization/39204 + * tree-ssa-pre.c (phi_translate_1): Lookup the value-number + of the PHI arg. + +2009-02-17 Uros Bizjak + + * config/soft-fp/double.h: Update from glibc CVS. + +2009-02-17 Richard Guenther + + PR tree-optimization/39207 + * tree-ssa-structalias.c (find_what_p_points_to): Do not emit + strict-aliasing warnings for pointers pointing to NULL. + +2009-02-16 Joseph Myers + + PR c/35446 + * c-parser.c (c_parser_braced_init): Call pop_init_level when + skipping until next close brace. + +2009-02-16 H.J. Lu + + PR target/37049 + * config/i386/i386.c (ix86_expand_push): Set memory alignment + to function argument boundary. + +2009-02-16 Hariharan Sandanagobalane + + * config/picochip/picochip.md (lea_add): Allow any nonimmediate + in the lea_add. Reload eventually constraints it properly. + * config/picochip/constraints.md : Remove the target constraint + "b", since it is not needed anymore. + 2009-02-16 Jakub Jelinek * gthr-dce.h: Uglify function parameter and local variable names. @@ -50,8 +531,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 @@ -63,8 +543,7 @@ PR target/39162 * config/i386/i386.c (type_natural_mode): Add a new argument. - Return the original mode and warn ABI change if vector size - is 32byte. + Return the original mode and warn ABI change if vector size is 32byte. (function_arg_advance): Updated. (function_arg): Likewise. (ix86_function_value): Likewise. @@ -74,7 +553,7 @@ (function_arg_32): Don't warn ABX ABI change here. (function_arg_64): Likewise. -2008-02-13 Bernd Schmidt +2009-02-13 Bernd Schmidt * loop-iv.c (implies_p): In the final case, test that operands 0 of the two comparisons match. @@ -143,7 +622,7 @@ (TARGET_INIT_LIBFUNCS): Likewise. * config/ia64/t-glibc (SHLINB_MAPFILES): - Add $(srcdir)/config/ia64/libgcc-glibc.ver, + Add $(srcdir)/config/ia64/libgcc-glibc.ver. 2009-02-12 H.J. Lu @@ -589,7 +1068,7 @@ * c-decl.c (pop_scope): Set DECL_EXTERNAL for functions declared inline but never defined. -2009-01-30 Wolfgang Gellerich +2009-01-30 Wolfgang Gellerich * config/s390/s390.md (*insv_reg_extimm): Removed. (*insv_h_di_reg_extimm): New insn. @@ -634,12 +1113,12 @@ recompute_dominator to compute the immediate dominator of the basic block just after the loop. -2008-01-29 Rainer Orth +2009-01-29 Rainer Orth * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA] (ASM_OUTPUT_DWARF_PCREL): Define. -2008-01-29 Vladimir Makarov +2009-01-29 Vladimir Makarov * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description. * doc/passes.texi: Remove entries about regclass, local-alloc, and @@ -728,7 +1207,7 @@ * reload1.c (compute_use_by_pseudos, reload, count_pseudo, count_spilled_pseudo, find_reg, alter_reg, delete_output_reload): Remove flag_ira. - (finish_spills): Ditto. Remove code for !flga_ira. + (finish_spills): Ditto. Remove code for !flag_ira. 2009-01-29 Kenneth Zadeck @@ -831,7 +1310,8 @@ 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 @@ -979,7 +1459,7 @@ void *' warning from -Wc++-compat. * Makefile.in (dominance.o-warn): Remove. -2008-01-23 Paolo Bonzini +2009-01-23 Paolo Bonzini PR tree-optimization/38932 * fold-const.c (fold_unary_ignore_overflow): New. @@ -1095,8 +1575,8 @@ 2009-01-20 Joseph Myers PR other/38758 - * longlong.h: Update copyright years. Use soft-fp license - notice. Sync __clz_tab declaration with glibc. + * longlong.h: Update copyright years. Use soft-fp license notice. + Sync __clz_tab declaration with glibc. 2009-01-20 Steve Ellcey @@ -1123,7 +1603,7 @@ * graphite.c (stmt_simple_for_scop_p): Also handle cases when gimple_call_lhs is NULL. -2008-01-20 Paolo Bonzini +2009-01-20 Paolo Bonzini PR target/38868 * emit-rtl.c (adjust_address_1): Make sure memref is never @@ -1506,7 +1986,7 @@ zero guard even if align_bytes != 0 and count is smaller than size_needed. -2008-01-09 Vladimir Makarov +2009-01-09 Vladimir Makarov PR rtl-optimization/38495 * ira-emit.c (print_move_list, ira_debug_move_list): New functions.