OSDN Git Service

2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index b5a4141..9e9fb08 100644 (file)
@@ -1,5 +1,236 @@
+2011-01-29  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR bootstrap/47147
+       * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as
+       used by NetBSD.
+
+2011-01-28  Ahmad Sharif <asharif@google.com>
+
+       * value-prof.c (check_counter): Corrected error message.
+
+2011-01-29  Jie Zhang  <jie@codesourcery.com>
+
+       * config/arm/arm.c (arm_legitimize_reload_address): New.
+       * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
+       arm_legitimize_reload_address.
+       * config/arm/arm-protos.h (arm_legitimize_reload_address):
+       Declare.
+
+2011-01-28  Ian Lance Taylor  <iant@google.com>
+
+       * godump.c (go_define): Ignore macros whose definitions include
+       two adjacent operands.
+
+2011-01-28  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/42894
+       * varasm.c (force_const_mem): Store copy of x in desc->constant
+       instead of x itself.
+       * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst
+       itself into REG_EQUAL note.
+
+2011-01-28  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/freebsd.opt (posix, rdynamic): New Driver options.
+
+2011-01-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports
+       -Bstatic/-Bdynamic.
+       * configure: Regenerate.
+
+2011-01-27  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile.
+       * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile.
+
+2011-01-27  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove.
+       * config/s390/s390-protos.h (s390_preferred_reload_class): Remove.
+       * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define.
+       (s390_preferred_reload_class): Make static. Change return and
+       'rclass' argument type to reg_class_t.
+
+2011-01-27  Jan Hubicka  <jh@suse.cz>
+
+       PR middle-end/46949
+       * cgraphunit.c (process_common_attributes): Fix use of remove_attribute.
+       (process_function_and_variable_attributes): Check defined weakrefs.
+
+2011-01-27  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/47228
+       * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of
+       build_ref_for_offset.
+
+2011-01-27  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * config/spu/spu-elf.h (ASM_SPEC): Remove.
+
+2011-01-26  Mikael Pettersson <mikpe@it.uu.se>
+
+       PR rtl-optimization/46856
+       * postreload.c (reload_combine_recognize_const_pattern): Do not
+       separate cc0 setter and user on cc0 targets.
+
+2011-01-26  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       PR c/43082
+       * c-typeck.c (c_objc_common_truthvalue_conversion): If we are
+       passed a VOID_TYPE expression, immediately emit an error and
+       return error_mark_node.
+
+2011-01-26  Jeff Law  <law@redhat.com>
+
+       PR rtl-optimization/47464
+       * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p
+       rather than may_trap_p as needed.
+
+2011-01-26  DJ Delorie  <dj@redhat.com>
+
+       PR rtl-optimization/46878
+       * combine.c (insn_a_feeds_b): Check for the implicit cc0
+       setter/user dependency as well.
+
+2011-01-26  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR rtl-optimization/44469
+       * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too
+       after removing trivially dead basic blocks.
+
+2011-01-26  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}.
+       * config/frv/frv.h (LINK_SPEC): Likewise.
+       * config/i386/netware.h (LINK_SPEC): Likewise.
+       * config/m68k/linux.h (ASM_SPEC): Likewise.
+       * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise.
+       * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
+       * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
+       * config/sparc/linux.h (ASM_SPEC): Likewise.
+       * config/sparc/linux64.h (ASM_SPEC): Likewise.
+       * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
+
+2011-01-26  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}.
+       * config/frv/frv.h (ASM_SPEC): Likewise.
+       * config/m68k/linux.h (ASM_SPEC): Likewise.
+       * config/pa/pa-linux.h (ASM_SPEC): Likewise.
+       * config/rs6000/linux64.h (ASM_SPEC): Likewise.
+       * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
+       * config/sparc/linux.h (ASM_SPEC): Likewise.
+       * config/sparc/linux64.h (ASM_SPEC): Likewise.
+       * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
+
+2011-01-26  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}.
+       * config/frv/frv.h (LINK_SPEC): Likewise.
+       * config/rs6000/sysv4.h (LINK_SPEC): Likewise.
+
+2011-01-26  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}.
+       * config/frv/frv.h (ASM_SPEC): Likewise.
+       * config/i386/sol2-10.h (ASM_SPEC): Likewise.
+       * config/m68k/linux.h (ASM_SPEC): Likewise.
+       * config/pa/pa-linux.h (ASM_SPEC): Likewise.
+       * config/rs6000/linux64.h (ASM_SPEC32): Likewise.
+       * config/rs6000/vxworks.h (ASM_SPEC): Likewise.
+       * config/sol2.h (ASM_SPEC): Remove comment about -Yd,.
+       * config/sparc/linux.h (ASM_SPEC): Likewise.
+       * config/sparc/linux64.h (ASM_SPEC): Likewise.
+       * config/sparc/sp-elf.h (ASM_SPEC): Likewise.
+       * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}.
+
+2011-01-26  Steve Ellcey  <sje@cup.hp.com>
+
+       PR target/46997
+       * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN.
+       (*mux2): Ditto.
+       (vec_extract_evenodd_help): Ditto.
+       (vec_extract_evenv4hi): Ditto.
+       (vec_extract_oddv4hi): Ditto.
+       (vec_interleave_lowv2si): Ditto.
+       (vec_interleave_highv2si): Ditto.
+       (vec_extract_evenv2si): Ditto.
+       (vec_extract_oddv2si: Ditto.
+       (vec_pack_trunc_v2si): Ditto.
+
+2011-01-22  Jan Hubicka  <jh@suse.cz>
+
+       PR target/47237
+       * cgraph.h (cgraph_local_info): New field can_change_signature.
+       * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee
+       signature can change.
+       (ipcp_estimate_growth): Call sequence simplify only if calle signature
+       can change.
+       (ipcp_insert_stage): Only compute args_to_skip if signature can change.
+       (cgraph_function_versioning): We can not change signature of functions
+       that don't allow that.
+       * lto-cgraph.c (lto_output_node): Stream local.can_change_signature.
+       (lto_input_node): Likewise.
+       * ipa-inline.c (compute_inline_parameters): Compute local.can_change_signature.
+       * ipa-split.c (visit_bb): Never split away APPLY_ARGS.
+       * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on functions
+       that can not change signature.
+       * i386.c (ix86_function_regparm, ix86_function_sseregparm,
+       init_cumulative_args): Do not use local calling conventions for functions
+       that can not change signature.
+
+2011-01-22  Jan Hubicka  <jh@suse.cz>
+
+       * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk.
+
+2011-01-26  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/47190
+        * cgraphunit.c (process_common_attributes): New function.
+        (process_function_and_variable_attributes): Use it.
+
+2011-01-26  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/47423
+       * cgraphbuild.c (record_eh_tables): Record reference to personality
+       function.
+
+2011-01-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/45454
+       * sel-sched.c (moveup_expr): Don't let debug insns prevent
+       non-debug insns from moving up.
+
+2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR target/40125
+       * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable
+       t-dlldir{,-x} fragment for build and add it to tmake_file.
+       (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
+       * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc.
+       * config/i386/t-dlldir: New file.
+       (SHLIB_DLLDIR): Define.
+       * config/i386/t-dlldir-x: New file.
+       (SHLIB_DLLDIR): Define.
+       * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set.
+       (SHLIB_INSTALL): Use it.
+
+2011-01-26  Chung-Lin Tang  <cltang@codesourcery.com>
+
+       PR target/47246
+       * config/arm/arm.c (thumb2_legitimate_index_p): Change the
+       lower bound of the allowed Thumb-2 coprocessor load/store
+       index range to -256. Add explaining comment.
+
+2011-01-25  Ian Lance Taylor  <iant@google.com>
+
+       * godump.c (go_define): Improve lexing of macro expansion to only
+       accept expressions which match Go spec.
+
 2011-01-26  Dave Korn  <dave.korn.cygwin@gmail.com>
 
+       PR c++/43601
        * tree.c (handle_dll_attribute): Handle it.
        * doc/extend.texi (@item dllexport): Mention it.
        * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it.