+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
2011-02-17 Iain Sandoe <iains@gcc.gnu.org>
* config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for
- objc_abi == 2.
+ objc_abi == 2.
* config/darwin.c (output_objc_section_asm_op): Added support for
ABI v1 and v2.
(is_objc_metadata): New.
(copy_arguments_for_versioning): Drop redundant get_var_ann.
* ipa-inline.c (compute_inline_parameters): Do not compute
disregard_inline_limits here.
- are not available.
(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.
+ 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.
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.
-
2011-02-14 Andriy Gapon <avg@freebsd.org>
PR target/45808
(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.