OSDN Git Service

* tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 6fb3936..a88d24c 100644 (file)
@@ -1,3 +1,271 @@
+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
        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.