OSDN Git Service

PR target/47986
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index b50ed6f..9cb86c6 100644 (file)
+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.
+       * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp.
 
 2011-02-28  Bernd Schmidt  <bernds@codesourcery.com>
            Jakub Jelinek  <jakub@redhat.com>
        (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.
+       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.
        * 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.
+       if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit section name.
 
 2011-02-28  Martin Jambor  <mjambor@suse.cz>
 
        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>
        * 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.
+       (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>
        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