OSDN Git Service

2011-02-28 Kai Tietz <kai.tietz@onevision.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 3762df3..b50ed6f 100644 (file)
@@ -1,3 +1,417 @@
+2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
+
+       PR debug/28047
+       * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp.
+       (lookup_filename): Likewise.
+       * final.c (remap_debug_filename): Use filename_ncmp instead of
+       strncmp.
+
+2011-02-28  Bernd Schmidt  <bernds@codesourcery.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/47893
+       * rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define.
+       (assign_stack_local_1): Change last argument type to int.
+       * function.c (assign_stack_local_1): Replace reduce_alignment_ok
+       argument with kind.  If bit ASLK_RECORD_PAD is not set in it,
+       don't record padding space into frame_space_list nor
+       use those areas.
+       (assign_stack_local): Adjust caller.
+       (assign_stack_temp_for_type): Call assign_stack_local_1 instead
+       of assign_stack_local, pass 0 as last argument.
+       * caller-save.c (setup_save_areas): Adjust assign_stack_local_1
+       callers.
+
+2011-02-28  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/47283
+       * cfgexpand.c (convert_debug_memory_address): Add AS parameter.
+       Use target address_mode and pointer_mode hooks instead of hardcoded
+       Pmode and ptr_mode.  Handle some simple cases of extending if
+       POINTERS_EXTEND_UNSIGNED < 0.
+       (expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>:
+       Call convert_debug_memory_address.
+       (expand_debug_expr) <case ADDR_EXPR>: Pass as to
+       convert_debug_memory_address.
+
+       PR middle-end/46790
+       * configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test.
+       * configure: Regenerated.
+       * config.in: Regenerated.
+       * varasm.c (default_function_section): Return NULL
+       if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit
+       section name.
+
+2011-02-28  Martin Jambor  <mjambor@suse.cz>
+
+       * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix
+       the description to match the printed values.
+
+2011-02-28  Richard Guenther  <rguenther@suse.de>
+
+       * tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT
+       of the copied scope tree.
+
+2011-02-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/extend.texi (Function Attributes): Avoid deeply (and
+       wrongly) nested tables.
+
+2011-02-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/47903
+       * real.c (real_arithmetic) <case PLUS_EXPR, MINUS_EXPR,
+       MULT_EXPR, RDIV_EXPR>: Clear padding bits in *r first if
+       r isn't op0 nor op1.
+
+2011-02-23  Georg-Johann Lay  <avr@gjlay.de>
+
+       * config/avr/avr.md: Remove magic comment for emacs.
+
+2011-02-23  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/45261
+       * config/avr/avr.c (avr_option_override): Use error on bad options.
+       (avr_help): New function.
+       (TARGET_HELP): Define.
+
+2011-02-22  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/42240
+       * config/avr/avr.c (avr_cannot_modify_jumps_p): New function.
+       (TARGET_CANNOT_MODIFY_JUMPS_P): Define.
+
+2011-02-26  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/invoke.texi (ARC Options): Use CPU instead of cpu.
+       (ARM Options): Ditto.
+       (i386 and x86-64 Options): Ditto.
+       (RX Options): Ditto.
+       (SPARC Options): Ditto.
+
+2011-02-26  Tijl Coosemans  <tijl@coosemans.org>
+
+       * config.gcc (i386-*-freebsd*): Make i486 the default arch on
+       FreeBSD 6 and later.  Generally use cpu generic.
+
+2011-02-25  Gerald Pfeifer  <gerald@pfeifer.com>
+       * doc/cpp.texi: Update copyright years.
+
+2011-02-25  Sebastien Bourdeauducq  <sebastien@milkymist.org>
+
+       PR target/46898
+       * config/lm32/lm32.md (ashrsi3): Added needed variable.
+
+2011-02-25  Jon Beniston  <jon@beniston.com>
+
+       PR target/46898
+       * config/lm32/lm32.h (INCOMING_RETURN_ADDR_RTX): New.
+       * config/lm32/lm32.md (ashlsi3): Remove unused variable.
+       * config/lm32/lm32.c (TARGET_EXCEPT_UNWIND_INFO): New.
+       (lm32_block_move_inline): Add type cast to remove warning.
+       (lm32_expand_prologue): Generate fp in a way compatible with
+       dwarf2out.
+       (gen_int_relational): Move declarations to start of function.
+
+2011-02-25  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR tree-optimization/45470
+       * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement
+       can throw internally only.
+       * tree-vect-stmts.c (vectorizable_call): Likewise.
+
+2011-02-24  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/stormy16/stormy16.h (PREFERRED_RELOAD_CLASS,
+       PREFERRED_OUTPUT_RELOAD_CLASS): Remove.
+       * config/stormy16/stormy16-protos.h
+       (xstormy16_preferred_reload_class): Remove.
+       * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Make
+       static. Change 'rclass' argument and return type to reg_class_t.
+       (TARGET_PREFERRED_RELOAD_CLASS,
+       TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define.
+
+2011-02-24  Richard Guenther  <rguenther@suse.de>
+
+       * lto-streamer-in.c (input_bb): Do not find referenced vars
+       in debug statements.
+
+2011-02-23  Jason Merrill  <jason@redhat.com>
+
+       * common.opt (fabi-version): Document v5 and v6.
+
+2011-02-23  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/47849
+       * tree-if-conv.c (main_tree_if_conversion): Free postdom info.
+
+2011-02-23  Jie Zhang  <jie@codesourcery.com>
+
+       * opts-common.c (decode_cmdline_option): Print empty string
+       argument as "" in decoded->orig_option_with_args_text.
+       * gcc.c (execute): Print empty string argument as ""
+       in the verbose output.
+       (do_spec_1): Keep empty string argument.
+
+2011-02-23  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config.gcc: Declare score-* and crx-* obsolete.
+
+2011-02-23  Jie Zhang  <jie@codesourcery.com>
+
+       PR rtl-optimization/47763
+       * web.c (web_main): Ignore naked clobber when replacing register.
+
+2011-02-22  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/stormy16/stormy16.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P):
+       Remove.
+
+2011-02-22  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR doc/47848
+       * doc/invoke.texi: Do not mention -ftree-loop-if-convert-memory-writes.
+
+2011-02-22  Mike Stump  <mikestump@comcast.net>
+
+       * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin
+       assembler.
+       * configure: Regenerate.
+
+2011-02-21  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       PR rtl-optimization/46002
+       * ira-color.c (update_copy_costs): Change class intersection
+       test to reg_class_contents[] test of 'hard_regno'.
+
+2011-02-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather
+       than Driver option.
+       * config/hpux11.opt (mt): Likewise.
+       * config/microblaze/microblaze.opt (mxl-mode-xilkernel): Likewise.
+       * config/rs6000/xilinx.opt (mno-clearbss, mppcperflib): Likewise.
+       * config/vax/elf.opt (mno-asm-pic): Likewise.
+       * config/vms/vms.opt (map, mvms-return-codes): Likewise.
+
+2011-02-21  Mike Stump  <mikestump@comcast.net>
+
+       PR target/47822
+       * config/darwin-protos.h (darwin_init_cfstring_builtins): Return a
+       tree so we can get save the type.
+       * config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot
+       for CFString instead of trying to use past the end of the builtins.
+       * config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise.
+       * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise.
+       * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise.
+       * config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING):
+       Rename to darwin_builtin_cfstring.
+       (darwin_init_cfstring_builtins): Return the built type.
+
+2011-02-21  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/47840
+       * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32.
+       (_mm256_insert_epi64): Use _mm_insert_epi64.
+
+2011-02-21  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
+       * config/stormy16/stormy16-protos.h
+       (xstormy16_mode_dependent_address_p): Remove.
+       * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p):
+       Make static. Change return type to bool. Change argument type to
+       const_rtx. Remove dead code.
+       (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
+
+2011-02-21  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/47820
+       * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers):
+       Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs.
+       (lto_input_ts_block_tree_pointers): Hook a BLOCK into the
+       TUs context.
+       * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers):
+       Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs.
+
+2011-02-20  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/47822
+       * tree.c (free_lang_data_in_decl): Clean builtins from
+       the TU decl BLOCK_VARS.
+
+2011-02-19  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/47620
+       PR debug/47630
+       * haifa-sched.c (fix_tick_ready): Skip tick computation
+       for debug insns.
+
+2011-02-19  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/47647
+       * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers):
+       Remove lazy BLOCK_VARS streaming.
+       (lto_input_ts_block_tree_pointers): Likewise.
+       * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise.
+
+2011-02-19  Joseph Myers  <joseph@codesourcery.com>
+
+       * config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h.
+
+2011-02-19  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/i386/biarch32.h, config/i386/mach.h,
+       config/rs6000/aix.opt, config/sh/superh64.h: Remove.
+
+2011-02-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/47800
+       * config/i386/i386.md (peephole2 for shift and plus): Use
+       operands[1] original mode in the first insn.
+
+2011-02-18  Mike Stump  <mikestump@comcast.net>
+
+       * config/t-darwin (TM_H): Add dependency on darwin-sections.def.
+
+2011-02-18  Jan Hubicka  <jh@suse.cz>
+
+       PR middle-end/47788
+       * ipa-inline.c (compute_inline_parameters): Set disregard_inline_limits
+       to zero when the function is not inlinable at all.
+
+2011-02-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * config.gcc (hppa[12]*-*-hpux11*): Set extra_parts.
+       * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock,
+       pthread_mutex_unlock, pthread_once): Reinstate pthread stubs.
+       * config/pa/t-pa-hpux11: Add rules to build pthread stubs.
+       * config/pa/t-pa64: Likewise.
+       * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
+
+2011-02-18  Jakub Jelinek  <jakub@redhat.com>
+
+       PR driver/47787
+       * gcc.c (default_compilers): Clear combinable field for "@cpp-output".
+
+2011-02-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR target/47792
+       * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name.
+
+2011-02-18  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
+       RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P,
+       LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P,
+       GO_IF_LEGITIMATE_ADDRESS): Remove macros.
+       * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define.
+       (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p,
+       m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p,
+       m32r_load_postinc_p, m32r_store_preinc_predec_p,
+       m32r_legitimate_address_p): New functions.
+       * config/m32r/constraints.md (constraint "S"): Don't use
+       STORE_PREINC_PREDEC_P.
+       (constraint "U"): Don't use LOAD_POSTINC_P.
+
+2011-02-18  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       PR rtl-optimization/46178
+       * ira.c (setup_hard_regno_class): Use ira_class_translate[] to
+       compute ira_hard_regno_cover_class[].
+
+2011-02-18  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/47798
+       * lto-streamer.h (lto_global_var_decls): Declare.
+       * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register
+       statics for global var processing.
+
+2011-02-18  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/47737
+       * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix
+       edge dominance check.
+
+2011-02-18  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/47780
+       * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to
+       avoid invalid rtx sharing.
+
+2011-02-18  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/cpp.texi (Obsolete Features): Add background on the
+       origin of assertions.
+
+2011-02-17  Iain Sandoe  <iains@gcc.gnu.org>
+
+       * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for
+       objc_abi == 2.
+       * config/darwin.c (output_objc_section_asm_op): Added support for
+       ABI v1 and v2.
+       (is_objc_metadata): New.
+       (darwin_objc2_section): New.
+       (darwin_objc1_section): New.
+       (machopic_select_section): Added support for ABI v1 and v2.
+       (darwin_emit_objc_zeroed): New.
+       (darwin_output_aligned_bss): Detect objc metadata and treat it
+       appropriately.
+       (darwin_asm_output_aligned_decl_common): Same.
+       (darwin_asm_output_aligned_decl_local): Same.
+       * config/darwin-sections.def: Updated for ABI v1 and v2.
+       * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): When
+       compiling Objective-C code for the NeXT runtime, default to using
+       ABI version 0 for 32-bit, and version 2 for 64-bit.
+
+2011-02-17  Joseph Myers  <joseph@codesourcery.com>
+
+       * common.opt (optimize_fast): New Variable.
+       * opts.c (default_options_optimization): Use opts->x_optimize_fast
+       instead of local variable ofast.
+
+2011-02-17  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * doc/invoke.texi (fobjc-abi-version): Documented.
+       (fobjc-nilcheck): Documented.
+       (fno-nil-receiver): Updated documentation to refer to the NeXT ABI
+       version.
+
+2011-02-17  Joseph Myers  <joseph@codesourcery.com>
+
+       PR driver/47390
+       * common.opt (export-dynamic): New Driver option.
+       * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}.
+
+2011-02-17  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*.
+
+2011-02-17  Alexandre Oliva  <aoliva@redhat.com>
+           Jan Hubicka  <jh@suse.cz>
+
+       PR debug/47106
+       PR debug/47402
+       * cfgexpand.c (account_used_vars_for_block): Remove.
+       (estimated_stack_frame_size): Use referenced vars.
+       * tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced
+       that were referenced in the original function.  Test src_fn
+       rather than cfun.  Drop redundant get_var_ann.
+       (setup_one_parameter): Drop redundant get_var_ann.
+       (declare_return_variable): Likewise.
+       (copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn.
+       (copy_arguments_for_versioning): Drop redundant get_var_ann.
+       * ipa-inline.c (compute_inline_parameters): Do not compute
+       disregard_inline_limits here.
+       (compute_inlinable_for_current, pass_inlinable): New.
+       (pass_inline_parameters): Require PROP_referenced_vars.
+       * cgraphunit.c (cgraph_process_new_functions): Don't run
+       compute_inline_parameters explicitly unless function is in SSA form.
+       (cgraph_analyze_function): Set .disregard_inline_limits.
+       * tree-sra.c (convert_callers): Compute inliner parameters
+       only for functions already in SSA form.
+
 2011-02-17  Joseph Myers  <joseph@codesourcery.com>
 
        * config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle
        (decl_readonly_section): Use it.
 
        Revert:
-       2010-11-17  Dinar Temirbulatov <dtemirbulatov@gmail.com>
+       2010-11-17  Dinar Temirbulatov  <dtemirbulatov@gmail.com>
                    Steve Ellcey  <sje@cup.hp.com>
 
        PR middle-end/31490
        * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*,
        ia64*-*-hpux*): Use hpux11.opt.
 
-2011-01-30  Jonathan Yong <jon_y@users.sourceforge.net>
+2011-01-30  Jonathan Yong  <jon_y@users.sourceforge.net>
 
        * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules
        to tmake_file.
 
        * config/spu/spu-elf.h (ASM_SPEC): Remove.
 
-2011-01-26  Mikael Pettersson <mikpe@it.uu.se>
+2011-01-26  Mikael Pettersson  <mikpe@it.uu.se>
 
        PR rtl-optimization/46856
        * postreload.c (reload_combine_recognize_const_pattern): Do not
        * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed.
        (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call.
 
-2011-01-25  Joel Sherrill <joel.sherrill@oarcorp.com>
+2011-01-25  Joel Sherrill  <joel.sherrill@oarcorp.com>
 
        * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to
        sjlj_except_unwind_info.
        * configure: Regenerate.
 
 2011-01-14  Jan Hubicka  <jh@suse.cz>
-       Jack Howarth <howarth@bromo.med.uc.edu>
+           Jack Howarth  <howarth@bromo.med.uc.edu>
 
        PR target/46037
        * config/darwin.c (darwin_override_options): Honor flag_gtoggle
        PR bootstrap/47055
        * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
 
-2011-01-04  Philipp Thomas <pth@suse.de>
+2011-01-04  Philipp Thomas  <pth@suse.de>
 
        * config/microblaze/microbalse.opt (mxl-float-convert): Fix
        obvious typo.