OSDN Git Service

gcc:
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 694452e..16461c2 100644 (file)
@@ -1,5 +1,319 @@
+2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * gthr-solaris.h: Remove.
+       * gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove.
+       * config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support.
+       (LIB_SPEC): Likewise.
+       * config/sol2.opt (threads): Remove.
+       * config.gcc (i[34567]86-*-solaris2*): Remove solaris threads
+       support.
+       (sparc*-*-solaris2*): Likewise.
+       * configure.ac (enable_threads): Enable solaris support.
+       * configure: Regenerate.
+       * doc/invoke.texi (Option Summary, Solaris 2 Options): Remove
+       -threads.
+       * doc/install.texi (Configuration, --enable-threads=lib): Remove
+       solaris.
+
+2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config.gcc: Obsolete *-*-solaris2.8*.
+       * doc/install.texi (Specific, *-*-solaris2*): Document it.
+
+2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR bootstrap/48135
+       * doc/install.texi (Prerequisites, Perl): Remove Glob.pm
+       reference.  Solaris 8 perl works.
+
+2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR bootstrap/48135
+       * doc/install.texi (Prerequisites): Move jar etc. up.
+       Explain support library version requirements.
+
+2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR bootstrap/48135
+       * doc/install.texi (Prerequisites): Move Perl to build
+       requirements.  Always necessary on Solaris 2 with Sun ld.
+
+2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for
+       binutils 2.21.
+       (Specific, i?86-*-solaris2.[89]): Likewise.
+       (Specific, i?86-*-solaris2.10): Likewise.
+       (Specific, mips-sgi-irix6): Likewise.
+       (Specific, *-*-solaris2*): Remove Sun Studio download URL.
+       Update for binutils 2.21.
+
+2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.ac (gcc_cv_lto_plugin): Fix typo.
+       Allow -fuse-linker-plugin for non-default plugin linker.
+       * configure: Regenerate.
+
+2011-03-21  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       PR bootstrap/48167
+       * gengtype.c (files_rules): Added rule for cp/parser.h.
+
+2011-03-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/48213
+       * config/s390/s390.c (s390_delegitimize_address): Don't call
+       lowpart_subreg if orig_x has BLKmode.
+
+2011-03-21  Kai Tietz  <ktietz@redhat.com>
+
+       PR target/12171
+       * doc/plugins.texi: Adjust documentation
+       for plugin register_callback.
+       * tree.h (attribute_spec): Add new member
+       affects_type_identity.
+       - Zitierten Text anzeigen -
+       * attribs.c (empty_attribute_table): Adjust
+       attribute_spec initializers.
+       * config/alpha/alpha.c: Likewise.
+       * config/arc/arc.c: Likewise.
+       * config/arm/arm.c: Likewise.
+       * config/avr/avr.c: Likewise.
+       * config/bfin/bfin.c: Likewise.
+       * config/crx/crx.c: Likewise.
+       * config/darwin.h: Likewise.
+       * config/h8300/h8300.c: Likewise.
+       * config/i386/cygming.h: Likewise.
+       * config/i386/i386.c: Likewise.
+       * config/ia64/ia64.c: Likewise.
+       * config/m32c/m32c.c: Likewise.
+       * config/m32r/m32r.c: Likewise.
+       * config/m68hc11/m68hc11.c: Likewise.
+       * config/m68k/m68k.c: Likewise.
+       * config/mcore/mcore.c: Likewise.
+       * config/mep/mep.c: Likewise.
+       * config/microblaze/microblaze.c: Likewise.
+       * config/mips/mips.c: Likewise.
+       * config/rs6000/rs6000.c: Likewise.
+       * config/rx/rx.c: Likewise.
+       * config/sh/sh.c: Likewise.
+       * config/sol2.h: Likewise.
+       * config/sparc/sparc.c: Likewise.
+       * config/spu/spu.c: Likewise.
+       * config/stormy16/stormy16.c: Likewise.
+       * config/v850/v850.c: Likewise.
+
+2011-03-21  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * simplify-rtx.c (simplify_binary_operation_1): Handle
+       (xor (and A B) C) case when B and C are both constants.
+
+2011-03-21  Mingjie Xing  <mingjie.xing@gmail.com>
+
+       * tree-dfa.c (add_referenced_var): Fix typo in comment.
+
+2011-03-20  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR bootstrap/48168
+       * config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern.
+
+2011-03-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/48156
+       * df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL,
+       assume df and df_lr are not NULL.
+
+2011-03-20  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+
+       PR debug/48023
+       * config/arm/arm.c (create_fix_barrier): Do not emit a minipool
+       between a call and its CALL_ARG_LOCATION note.
+
+2011-03-19  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR debug/48178
+       * config/sh/sh.c (find_barrier): Don't emit a constant pool
+       between a call and its corresponding CALL_ARG_LOCATION note.
+
+2011-03-19  Anatoly Sokolov  <aesok@post.ru>
+
+       * cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range
+       instead of loop. Use HARD_REGISTER_NUM_P predicate.
+       * haifa-sched.c (setup_ref_regs): Ditto.
+       * caller-save.c (add_used_regs_1): Ditto.
+       * dse.c (look_for_hardregs): Ditto.
+       * df-problems.c (df_simulate_one_insn_forwards): Ditto.
+       * sched-rgn.c (check_live_1): Ditto.
+
+2011-03-18  Joseph Myers  <joseph@codesourcery.com>
+
+       * c-decl.c (diagnose_mismatched_decls): Give an error for
+       redefining a typedef with variably modified type.
+
+2011-03-18  Joseph Myers  <joseph@codesourcery.com>
+
+       * c-decl.c (grokfield): Don't allow typedefs for structures or
+       unions with no tag by default.
+       * doc/extend.texi (Unnamed Fields): Update.
+
+2011-03-18  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2):
+       Rewrite using indirect functions.
+       (lwp_slwpcb): Ditto.
+       * config/i386/sse.md (avx_vextractf128<mode>): Ditto.
+       (avx_vinsertf128<mode>): Ditto.
+
+2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF
+       unspecs.
+
+2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.c (s390_chunkify_start): Prevent literal pool
+       splitting between a call and its corresponding CALL_ARG_LOCATION
+       note.
+
+2011-03-18  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       PR rtl-optimization/48170
+       * gcse.c (hoist_code): Remove bogus asserts.
+
+2011-03-18  Georg-Johann Lay  <avr@gjlay.de>
+
+       * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost
+       computation for prologue/epilogue.
+
+2011-03-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * Makefile.in (check-consistency): Remove.
+
+2011-03-18  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/48176
+       * dwarf2out.c (dwarf2out_finish): Call output_aranges even when
+       arange_table_in_use is 0, but either text_section_used or
+       cold_text_section_used is true.  Don't call it if
+       !info_section_emitted.
+
+2011-03-18  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE,
+       FUNCTION_VALUE_REGNO_P): Remove.
+       * config/avr/avr-protos.h (avr_ret_register, avr_libcall_value):
+       Remove.
+       * config/avr/avr.c (avr_ret_register): Make static inline.
+       (avr_function_value_regno_p): New function.
+       (avr_libcall_value): Make static. Add 'func' argument.
+       (avr_function_value): Make static. Rename 'func' argument to
+       'fn_decl_or_type', forward it to avr_libcall_value. Call
+       avr_ret_register function instead of RET_REGISTER macro.
+       (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
+
+2011-03-18  Jason Merrill  <jason@redhat.com>
+
+       PR c++/23372
+       * gimplify.c (gimplify_arg): Strip redundant TARGET_EXPR.
+
+2011-03-18  Richard Guenther  <rguenther@suse.de>
+
+       * doc/install.texi (--enable-gold): Remove.
+       (--with-plugin-ld): Document.
+       * doc/invoke.texi (-fuse-linker-plugin): Clarify.
+
+2011-03-18  Andrew Pinski  <pinskia@gmail.com>
+
+       PR middle-end/47790
+       * expr.c (optimize_bitfield_assignment_op): Revamp to work
+       again after expansion changes.
+
+2011-03-18  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       * combine.c (try_combine): Do simplification only call of
+       subst() on i2 even when i1 is present. Update comments.
+
+2011-03-18  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF
+       and UNSPEC_PCREL_SYMOFF.
+
+2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.md: Use define_c_enum for the unspec constant
+       definitions.
+
+2011-03-18  Richard Henderson  <rth@redhat.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/48161
+       * expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary
+       instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER.
+
+2011-03-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR middle-end/47725
+       * combine.c (cant_combine_insn_p): Don't check zero/sign
+       extended hard registers.
+
+2011-03-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR middle-end/47725
+       * combine.c (cant_combine_insn_p): Check zero/sign extended
+       hard registers.
+
+2011-03-17  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
+       * config/v850/v850-protos.h (v850_output_addr_const_extra): Remove.
+       * config/v850/v850.c (v850_output_addr_const_extra): Make static.
+       Change return type to bool.
+       (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
+
+2011-03-17  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/48163
+       * var-tracking.c (prepare_call_arguments): If CALL target
+       is a non-SYMBOL_REF CONSTANT_P, just add that into the list as
+       pc instead of looking it up using cselib_lookup and use
+       Pmode for it if x has VOIDmode.
+       * dwarf2out.c (gen_subprogram_die): If also both first and
+       second CONCAT arguments are VOIDmode, use mode of CONCAT itself.
+
+       PR debug/48163
+       * function.c (assign_parms): For data.passed_pointer parms
+       use MEM of data.entry_parm instead of data.entry_parm itself
+       as DECL_INCOMING_RTL.
+       * dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL
+       also when passed and declared mode is the same, DECL_RTL
+       is a MEM with pseudo as address and DECL_INCOMING_RTL is
+       a MEM too.
+
+2011-03-16  Jeff Law  <law@redhat.com>
+
+       PR rtl-optimization/37273
+       * ira-costs.c (scan_one_insn): Detect constants living in memory and
+       handle them like argument loads from stack slots.  Do not double
+       count memory for memory constants and argument loads from stack slots.
+
+2011-03-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR debug/48160
+       * var-tracking.c (prepare_call_arguments): Check SUBREG.
+
+2011-03-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/48171
+       * config/i386/i386.opt: Add Save to -mavx and -mfma.
+
 2011-03-17  Jakub Jelinek  <jakub@redhat.com>
 
+       PR bootstrap/48153
+       * dwarf2out.c (mem_loc_descriptor) <case ENTRY_VALUE>: Return NULL
+       if dwarf_strict.
+       (gen_subprogram_die): Don't add call_site DIEs if dwarf_strict.
+       Clear call_arg_locations and call_arg_loc_last always.
+
        PR middle-end/48152
        * var-tracking.c (prepare_call_arguments): If argument needs to be
        passed by reference, adjust argtype and mode.
 2011-03-16  Jeff Law  <law@redhat.com>
 
        * tree-vrp.c (identify_jump_threads): Slightly simplify type
-       check for operands of conditional.  Allow type to be a
-       pointer.
+       check for operands of conditional.  Allow type to be a pointer.
 
 2011-03-16  Richard Guenther  <rguenther@suse.de>
 
 
 2011-03-15  Richard Guenther  <rguenther@suse.de>
 
-       * config/i386/i386.c (ix86_emit_swdivsf): Implement more
-       efficiently.
+       * config/i386/i386.c (ix86_emit_swdivsf): Implement more efficiently.
 
 2011-03-15  Alan Modra  <amodra@gmail.com>
 
 
 2011-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
-       * config/sol2.c (solaris_assemble_visibility): Remove obsolete
-       URLs.
+       * config/sol2.c (solaris_assemble_visibility): Remove obsolete URLs.
 
 2011-03-14  Jakub Jelinek  <jakub@redhat.com>