OSDN Git Service

* config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index be7885c..0918f7a 100644 (file)
@@ -1,3 +1,666 @@
+2011-03-07  Alan Modra  <amodra@gmail.com>
+
+       * config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define.
+       * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Don't define.
+       * config/rs6000/sysv4.h (TARGET_ASM_FILE_END): Define.
+       * config/rs6000/rs6000-protos.h (init_cumulative_args): Add fndecl and
+       return_mode args.
+       * config/rs6000/rs6000.h (CUMULATIVE_ARGS): Add "escapes".
+       (INIT_CUMULATIVE_ARGS): Pass FNDECL, VOIDmode.
+       (INIT_CUMULATIVE_INCOMING_ARGS): Pass current_function_decl, VOIDmode.
+       (INIT_CUMULATIVE_LIBCALL_ARGS): Pass NULL_TREE, MODE.
+       * config/rs6000/rs6000.c
+       (rs6000_elf_end_indicate_exec_stack): Rename to..
+       (rs6000_elf_file_end): ..this.  Only call file_end_indicate_exec_stack
+       for POWERPC_LINUX.  Move code emitting .gnu_attribute to here, from..
+       (rs6000_file_start): ..here.
+       (rs6000_passes_float, rs6000_passes_vector, rs6000_returns_struct): New
+       file scope variables.
+       (call_ABI_of_interest): New function.
+       (init_cumulative_args): Set above vars when function return value
+       is a float, vector, or small struct.
+       (rs6000_function_arg_advance_1): Likewise for function args.
+       (rs6000_va_start): Set rs6000_passes_float if variable arg function
+       references float args.
+
+2011-03-07  Mingjie Xing  <mingjie.xing@gmail.com>
+
+       * doc/cfg.texi: Remove "See" before @ref.
+       * doc/invoke.texi: Likewise.
+
+2011-03-05  Jason Merrill  <jason@redhat.com>
+
+       * doc/invoke.texi (C++ Dialect Options): Document ABI v5.
+
+2011-03-05  Anthony Green  <green@moxielogic.com>
+
+       * config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile.
+
+2011-03-05  Zdenek Dvorak  <ook@ucw.cz>
+
+       PR rtl-optimization/47899
+       * cfgloopmanip.c (fix_bb_placements): Fix first argument
+       to flow_loop_nested_p when moving the loop upward.
+
+2011-03-05  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR target/47719
+       * arm.md (movhi_insn_arch4):  Accept any immediate constant.
+
+2011-03-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/47967
+       * ipa-cp.c (build_const_val): Return NULL instead of creating
+       VIEW_CONVERT_EXPR for mismatching sizes.
+       (ipcp_create_replace_map): Return NULL if build_const_val failed.
+       (ipcp_insert_stage): If ipcp_create_replace_map returns NULL,
+       give up on versioning.
+
+2011-03-05  Alan Modra  <amodra@gmail.com>
+
+       PR target/47986
+       * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle
+       full cmodel medium/large lo_sum + high addresses.
+
+2011-03-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.c (s390_decompose_address): Reject non-literal
+       pool references in UNSPEC_LTREL_OFFSET.
+
+2011-03-04  Jan Hubicka  <jh@suse.cz>
+
+       PR lto/47497
+       * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias.
+       (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here.
+       * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): Add node pointers.
+       * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias,
+       cgraph_add_thunk): Add node pointers.
+       * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are
+       associated to right node.
+       (input_node): Update use of cgraph_same_body_alias
+       and cgraph_add_thunk.
+
+2011-03-04  Changpeng Fang  <changpeng.fang@amd.com>
+
+       * config/i386/i386.opt (mprefer-avx128): New flag.
+       * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit mode
+       when the flag -mprefer-avx128 is on.
+
+2011-03-04  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * dwarf2out.c (compare_loc_operands): Fix address handling.
+
+2011-03-04  Alan Modra  <amodra@gmail.com>
+
+       * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment.
+
+2011-03-04  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/47968
+       * expmed.c (extract_bit_field_1): Prefer vector modes that
+       vec_extract patterns can handle.
+
+2011-03-04  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/47975
+       * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P.
+
+2011-03-04  Richard Henderson  <rth@redhat.com>
+
+       * explow.c (emit_stack_save): Remove 'after' parameter.
+       (emit_stack_restore): Likewise.
+       * expr.h: Update to match.
+       * builtins.c, calls.c, stmt.c: Likewise.
+       * config/alpha/alpha.md, config/avr/avr.md: Likewise.
+       * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise.
+       * function.c (expand_function_end): Insert the emit_stack_save
+       sequence before parm_birth_insn instead of after.
+
+2011-03-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX.
+       (ssse3_pmaddubsw128): Ditto.
+       (ssse3_pmaddubsw): Ditto.
+
+2011-03-03  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH
+
+2011-03-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/47963
+       * gimplify.c (omp_add_variable): Only call omp_notice_variable
+       on TYPE_SIZE_UNIT if it is a DECL.
+
+       PR debug/47283
+       * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF
+       first operand is not is_gimple_mem_ref_addr, try to fold it.
+       If the operand still isn't is_gimple_mem_ref_addr, clear
+       MEM_EXPR on op0.
+
+2011-03-03  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/47283
+       * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code
+       match comment.
+       (refs_may_alias_p_1): For release branches return true if
+       we are confused by our input.
+
+2011-03-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.c (s390_function_value): Rename to ...
+       (s390_function_and_libcall_value): ... this.
+       (s390_function_value): New function.
+       (s390_libcall_value): New function.
+       (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks.
+       * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove
+       target macro definitions.
+       * config/s390/s390-protos.h (s390_function_value): Remove prototype.
+
+2011-03-02  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/i386/freebsd64.h (CC1_SPEC): Define.
+       * config/i386/linux64.h (CC1_SPEC): Define.
+       * config/i386/x86-64.h (CC1_SPEC): Don't define.
+
+2011-03-02  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST):
+       Remove.
+       * config/stormy16/stormy16.c: Include reload.h.
+       (xstormy16_memory_move_cost): New function.
+       (TARGET_MEMORY_MOVE_COST): Define.
+
+2011-03-02  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       PR rtl-optimization/47925
+       * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions
+       with side effects.  Remove the more-specific check for volatile asms.
+
+2011-03-02  Alan Modra  <amodra@gmail.com>
+
+       PR target/47935
+       * config/rs6000/predicates.md (lwa_operand): Check cmodel medium
+       toc relative addresses for valid offsets.
+
+2011-03-01  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/47890
+       * tree-vect-loop.c (get_initial_def_for_induction): Set
+       related stmt properly.
+
+2011-03-01  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/47924
+       * lto-streamer.c (lto_record_common_node): Also register
+       the canonical type.
+
+2011-03-01  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/46911
+       * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers):
+       Do not stream DECL_ABSTRACT_ORIGIN.
+       (lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION,
+       BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN.
+       * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers):
+       Do not stream DECL_ABSTRACT_ORIGIN.
+       (lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION,
+       BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN.
+
+2011-02-28  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/stormy16/stormy16.h (FUNCTION_VALUE, LIBCALL_VALUE,
+       FUNCTION_VALUE_REGNO_P): Remove.
+       * config/stormy16/stormy16-protos.h (xstormy16_function_value): Remove.
+       * config/stormy16/stormy16.c (xstormy16_function_value): Make static.
+       Add 'outgoing' argument.
+       (xstormy16_libcall_value, xstormy16_function_value_regno_p): New
+       function.
+       (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE,
+       TARGET_FUNCTION_VALUE_REGNO_P): Define.
+
+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
+       -mlittle-endian-data.
+
+2011-02-17  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and
+       -mno-fpu, not -fpu and -no-fpu.
+       * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise.
+       * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise.
+
+2011-02-17  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/43653
+       * config/i386/i386.c (ix86_secondary_reload): Handle SSE
+       input reload with PLUS RTX.
+
+2011-02-16  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead
+       of InverseVar(MDMX).
+
+2011-02-16  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of
+       --m4-340.
+
+2011-02-16  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/mn10300/mn10300.opt (mno-crt0): New.
+
 2011-02-16  Joseph Myers  <joseph@codesourcery.com>
 
        * config/m68k/uclinux.opt (static-libc): New Driver option.
 
 2011-02-15  Nathan Froyd  <froydnj@codesourcery.com>
 
-        * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete.
-        (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
-        (EXTRA_CONSTRAINT): Delete.
-        * config/iq2000/constraints.md: New file.
-        * config/iq2000/iq2000.md: Include it.
+       * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete.
+       (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
+       (EXTRA_CONSTRAINT): Delete.
+       * config/iq2000/constraints.md: New file.
+       * config/iq2000/iq2000.md: Include it.
        (define_insn ""): Delete.
        (movsi_internal2, movhi_internal2, movqi_internal2): Delete
        unsupported constraint letters from patterns.
        * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete.
        (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
        (EXTRA_CONSTRAINT): Delete.
-       * config/stormy16/stormy16.c (xstormy16_legitiamte_address_p):
+       * config/stormy16/stormy16.c (xstormy16_legitimate_address_p):
        Un-staticize.
        (xstormy16_extra_constraint_p): Delete.
 
        (sparc64_fallback_frame_state): Merge with ...
        (sparc_fallback_frame_state): ... this into ...
        (MD_FALLBACK_FRAME_STATE_FOR): ... this.
-       Change new_cfa to long.
-       Remove regs_off, fpu_save_off, fpu_save.
-       Define nframes, mctx.
-       Use IS_SIGHANDLER, handler_args, mctx, walk stack instead of
-       hardcoded offsets.
-
-2011-02-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-
-       * go/gccgo.texi (Top, Import and Export): Fix a typo and a
-       markup nit.
+       Change new_cfa to long.  Remove regs_off, fpu_save_off, fpu_save.
+       Define nframes, mctx.  Use IS_SIGHANDLER, handler_args, mctx, walk
+       stack instead of hardcoded offsets.
 
-2011-02-14  Andriy Gapon <avg@freebsd.org>
+2011-02-14  Andriy Gapon  <avg@freebsd.org>
 
        PR target/45808
        * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case.
 2011-02-12  Iain Sandoe  <iains@gcc.gnu.org>
 
        * config/darwin.c (darwin_override_options): Add a hunk missed
-       from the commit of r168571.  Trim comment line lengths and 
+       from the commit of r168571.  Trim comment line lengths and
        correct indents of the preceding block.
 
 2011-02-12  Iain Sandoe  <iains@gcc.gnu.org>
        (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.