OSDN Git Service

Backport from git Libtool:
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 8ca4849..2fa2f4f 100644 (file)
@@ -1,3 +1,338 @@
+2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * 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.
+
+2009-02-28  Jan Hubicka  <jh@suse.cz>
+
+       * tree-inline.c (tree_function_versioning): Output debug info.
+
+2009-02-28  Jan Hubicka  <jh@suse.cz>
+
+       PR debug/39267
+       * tree-inline.c (setup_one_parameter): Do not copy propagate
+       arguments when not optimizing.
+
+2009-02-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       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  <jh@suse.cz>
+
+       * 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  <jh@suse.cz>
+
+       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  <jh@suse.cz>
+
+       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  <sebastian.pop@amd.com>
+
+       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  <Andreas.Krebbel@de.ibm.com>
+
+       * 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  <ubizjak@gmail.com>
+
+       * config/alpha/alpha.h (alpha_expand_mov): Return false if
+       force_const_mem returns NULL_RTX.
+
+2009-02-26  Jan Hubicka  <jh@suse.cz>
+
+       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  <hongjiu.lu@intel.com>
+
+       PR rtl-optimization/39241
+       * jump.c (rtx_renumbered_equal_p): Remove 2 superfluous calls
+       to subreg_offset_representable_p.
+
+2009-02-25  Paolo Bonzini  <bonzini@gnu.org>
+
+       * 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  <mjambor@suse.cz>
+
+       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  <bonzini@gnu.org>
+
+       * 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  <julian@codesourcery.com>
+
+       PR target/35965
+       * config/arm/arm.c (require_pic_register): Only set
+       cfun->machine->pic_reg once per function.
+
+2009-02-24  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * 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  <sje@cup.hp.com>
+
+       PR target/33785
+       * doc/tm.texi (TARGET_C99_FUNCTIONS): Fix description.
+
+2009-02-24  Richard Guenther  <rguenther@suse.de>
+
+       PR debug/39285
+       * dwarf2out.c (gen_enumeration_type_die): Handle CONST_DECLs.
+
+2009-02-24  Richard Guenther  <rguenther@suse.de>
+           Zdenek Dvorak  <ook@ucw.cz>
+
+       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  <sebastian.pop@amd.com>
+
+       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  <jason@redhat.com>
+
+       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  <jh@suse.cz>
+
+       PR c/12245
+       * ggc.h (htab_create_ggc): Use ggc_free to free hashtable when
+       resizing.
+
+2009-02-23  Jan Hubicka  <jh@suse.cz>
+
+       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  <hongjiu.lu@intel.com>
+
+       * 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  <hongjiu.lu@intel.com>
+
+       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  <sebastian.pop@amd.com>
+
+       * graphite.c (graphite_trans_loop_block): Adjust tile size to 51.
+
+2009-02-21  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       PR bootstrap/39257
+       * loop-iv.c: Revert last change.
+       * emit-rtl.c: Likewise.
+
+2009-02-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       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  <rdsandiford@googlemail.com>
+
+       * 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  <dannysmith@users.sourceforge.net>
+
+       * config/i386/winnt.c (i386_pe_asm_output_aligned_decl_common): Revert
+       accidental and undocumented change at revision 140860.
+
+2009-02-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * 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  <mark@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * 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  <jakub@redhat.com>
+
+       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  <jaka@xlab.si>
+
+       * 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  <jakub@redhat.com>
+
+       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  <jakub@redhat.com>
+
+       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  <hongjiu.lu@intel.com>
+
+       PR c++/39188
+       * varasm.c (assemble_variable): Don't check DECL_NAME when
+       globalizing a variable.
+
+2009-02-19  Joseph Myers  <joseph@codesourcery.com>
+
+       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  <ubizjak@gmail.com>
 
        PR target/39228
        (function_arg_32): Don't warn ABX ABI change here.
        (function_arg_64): Likewise.
 
-2008-02-13  Bernd Schmidt  <bernd.schmidt@analog.com>
+2009-02-13  Bernd Schmidt  <bernd.schmidt@analog.com>
 
        * loop-iv.c (implies_p): In the final case, test that operands 0
        of the two comparisons match.
        recompute_dominator to compute the immediate dominator of the
        basic block just after the loop.
 
-2008-01-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+2009-01-29  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA]
        (ASM_OUTPUT_DWARF_PCREL): Define.
 
-2008-01-29  Vladimir Makarov  <vmakarov@redhat.com>
+2009-01-29  Vladimir Makarov  <vmakarov@redhat.com>
 
        * doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
        * doc/passes.texi: Remove entries about regclass, local-alloc, and
        void *' warning from -Wc++-compat.
        * Makefile.in (dominance.o-warn): Remove.
 
-2008-01-23  Paolo Bonzini  <bonzini@gnu.org>
+2009-01-23  Paolo Bonzini  <bonzini@gnu.org>
 
        PR tree-optimization/38932
        * fold-const.c (fold_unary_ignore_overflow): New.
        * graphite.c (stmt_simple_for_scop_p): Also handle cases when
        gimple_call_lhs is NULL.
 
-2008-01-20  Paolo Bonzini  <bonzini@gnu.org>
+2009-01-20  Paolo Bonzini  <bonzini@gnu.org>
 
        PR target/38868
        * emit-rtl.c (adjust_address_1): Make sure memref is never
        zero guard even if align_bytes != 0 and count is smaller than
        size_needed.
 
-2008-01-09  Vladimir Makarov  <vmakarov@redhat.com>
+2009-01-09  Vladimir Makarov  <vmakarov@redhat.com>
 
        PR rtl-optimization/38495
        * ira-emit.c (print_move_list, ira_debug_move_list): New functions.