OSDN Git Service

2010-12-09 Martin Jambor <mjambor@suse.cz>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 4c5932d..7c380d3 100644 (file)
@@ -1,3 +1,239 @@
+2010-12-09  Martin Jambor  <mjambor@suse.cz>
+
+       * ipa-prop.h (struct ipa_parm_adjustment): New field alias_ptr_type.
+       * ipa-prop.c (ipa_modify_call_arguments): Use it.
+       * tree-sra.c (splice_param_accesses): Test that all accesses have the
+       same alias reference type.
+       (turn_representatives_into_adjustments): Set alias_ptr_type of the
+       adjustment.
+
+2010-12-09  Martin Jambor  <mjambor@suse.cz>
+
+       PR middle-end/46734
+       * tree-sra.c (splice_param_accesses): Check that there are not
+       multiple ADDRESSABLE types.
+
+2010-12-09  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/arc/arc.h (ASM_SPEC): Remove %{v}.
+       * config/bfin/bfin.h (ASM_SPEC): Remove %{v}.
+       * config/cris/cris.h (ASM_SPEC): Remove %{v:-v}.
+       * config/fr30/fr30.h (ASM_SPEC): Remove %{v}.
+       * config/frv/frv.h (ASM_SPEC): Remove %{v}.
+       * config/i386/linux.h (ASM_SPEC): Remove %{v}.
+       * config/i386/linux64.h (ASM_SPEC): Remove %{v}.
+       * config/i386/mingw-w64.h (ASM_SPEC): Remove %{v}.
+       * config/i386/sol2-10.h (ASM_SPEC): Remove %{v}.
+       * config/i386/vxworks.h (ASM_SPEC): Remove %{v}.
+       * config/i386/x86-64.h (ASM_SPEC): Remove %{v}.
+       * config/lm32/lm32.h (ASM_SPEC): Remove %{v}.
+       * config/m32r/m32r.h (ASM_SPEC): Remove %{v}.
+       * config/m68k/linux.h (ASM_SPEC): Remove %{v:-V}.
+       * config/microblaze/microblaze.h (ASM_SPEC): Remove %{v}.
+       * config/mips/mips.h (ASM_SPEC): Remove %{v}.
+       * config/mips/vxworks.h (ASM_SPEC): Remove %{v}.
+       * config/pa/pa-linux.h (ASM_SPEC): Remove %{v:-V}.
+       * config/rs6000/freebsd.h (SVR4_ASM_SPEC): Remove %{v}.
+       * config/rs6000/linux64.h (ASM_SPEC): Remove %{v:-V}.
+       * config/rs6000/vxworks.h (ASM_SPEC): Remove %{v:-v}.
+       * config/sparc/openbsd64.h (ASM_SPEC): Remove %{v:-V}.
+       * config/svr4.h (SVR4_ASM_SPEC): Remove %{v:-V}.
+       * config/xtensa/elf.h (ASM_SPEC): Remove %{v}.
+       * config/xtensa/linux.h (ASM_SPEC): Remove %{v}.
+
+2010-12-09  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/i386/openbsdelf.h (LINK_SPEC): Use %{r:} not %{r*:}.
+       * config/mips/openbsd.h (LINK_SPEC): Use %{r:} not %{r*:}.
+       * config/netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): Use %{r:} not
+       %{r*:}.
+       * config/netbsd-elf.h (NETBSD_LINK_SPEC_ELF): Use %{r:} not
+       %{r*:}.
+       * config/sparc/openbsd64.h (LINK_SPEC): Use %{r:} not %{r*:}.
+       * config/vax/netbsd-elf.h (LINK_SPEC): Use %{r:} not %{r*:}.
+
+2010-12-09  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/alpha/freebsd.h (LINK_SPEC): Don't use
+       %{!dynamic-linker:}.
+       * config/alpha/linux-elf.h (LINK_SPEC): Likewise.
+       * config/arm/freebsd.h (LINK_SPEC): Likewise.
+       * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Likewise.
+       * config/bfin/linux.h (LINK_SPEC): Likewise.
+       * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Likewise.
+       * config/frv/linux.h (LINK_SPEC): Likewise.
+       * config/i386/freebsd.h (LINK_SPEC): Likewise.
+       * config/i386/freebsd64.h (LINK_SPEC): Likewise.
+       * config/i386/linux.h (LINK_SPEC): Likewise.
+       * config/i386/linux64.h (LINK_SPEC): Likewise.
+       * config/i386/openbsdelf.h (LINK_SPEC): Likewise.
+       * config/ia64/freebsd.h (LINK_SPEC): Likewise.
+       * config/ia64/linux.h (LINK_SPEC): Likewise.
+       * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
+       * config/m32r/linux.h (LINK_SPEC): Likewise.
+       * config/m68k/linux.h (LINK_SPEC): Likewise.
+       * config/microblaze/linux.h (LINK_SPEC): Likewise.
+       * config/mips/linux.h (LINK_SPEC): Likewise.
+       * config/mips/linux64.h (LINK_SPEC): Likewise.
+       * config/mips/openbsd.h (LINK_SPEC): Likewise.
+       * config/mn10300/linux.h (LINK_SPEC): Likewise.
+       * config/netbsd-elf.h (LINK_SPEC): Likewise.
+       * config/pa/pa-linux.h (LINK_SPEC): Likewise.
+       * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC32,
+       LINK_OS_LINUX_SPEC64): Likewise.
+       * config/rs6000/sysv4.h (LINK_OS_FREEBSD_SPEC,
+       LINK_OS_LINUX_SPEC, LINK_OS_GNU_SPEC, LINK_OS_NETBSD_SPEC):
+       Likewise.
+       * config/s390/linux.h (LINK_SPEC): Likewise.
+       * config/sh/linux.h (SUBTARGET_LINK_SPEC): Likewise.
+       * config/sparc/freebsd.h (LINK_SPEC): Likewise.
+       * config/sparc/linux.h (LINK_SPEC): Likewise.
+       * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
+       LINK_SPEC): Likewise.
+       * config/sparc/openbsd64.h (LINK_SPEC): Likewise.
+       * config/vax/linux.h (LINK_SPEC): Likewise.
+       * config/xtensa/linux.h (LINK_SPEC): Likewise.
+
+2010-12-09  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/bfin/bfin.h (ASM_SPEC): Remove %{n} and %{T}.
+       * config/frv/frv.h (ASM_SPEC): Likewise.
+       * config/i386/sol2-10.h (ASM_SPEC): Likewise.
+       * config/i386/sol2.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): Likewise.
+       * 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): Likewise.
+       * config/svr4.h (SVR4_ASM_SPEC): Likewise.
+
+2010-12-09  Richard Guenther  <rguenther@suse.de>
+
+       * reginfo.c (struct subregs_of_mode_node): Remove.
+       (subregs_of_mode): Likewise.
+       (som_hash): Likewise.
+       (som_eq): Likewise.
+       (invalid_mode_changes): New bitmap.
+       (record_subregs_of_mode): Get subregs_of_mode argument.
+       Fill in invalid_mode_changes bitmap.
+       (find_subregs_of_mode): Get subregs_of_mode argument and pass
+       it through.
+       (init_subregs_of_mode): Adjust.
+       (finish_subregs_of_mode): Likewise.
+       (invalid_mode_change_p): Query invalid_mode_changes bitmap.
+
+2010-12-09  Richard Guenther  <rguenther@suse.de>
+
+       * ira.c (ira): Do not call finish_subregs_of_mode.
+       * ira-costs.c (finish_costs): Call finish_subregs_of_mode.
+
+2010-12-09  Richard Guenther  <rguenther@suse.de>
+
+       * rtl.h (invalid_mode_change_p): Adjust prototype.
+       * reginfo.c (invalid_mode_change_p): Remove from argument.
+       * ira-costs.c (print_allocno_costs): Adjust callers.
+       (find_costs_and_classes): Likewise.
+
+2010-12-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/s390/s390.md (*mov<mode>cc): Change lgoc and stgoc to
+       locg and stocg even in comment.
+       (sync_old_<atomic><mode>): Give mode to UNSPEC_VOLATILE.
+
+       PR target/41082
+       * config/rs6000/rs6000.c (rs6000_expand_vector_extract): Use stvx
+       instead of stve*x.
+       (altivec_expand_stv_builtin): For op0 use mode of operand 1 instead
+       of operand 0.
+       * config/rs6000/altivec.md (VI_scalar): New mode attr.
+       (altivec_stve<VI_char>x, *altivec_stvesfx): Use scalar instead of
+       vector mode for operand 0, put operand 1 into UNSPEC.
+
+2010-12-09  Yao Qi  <yao@codesourcery.com>
+
+       * config/arm/arm.c (arm_preferred_rename_class): Implement targethook
+       PREFERRED_RENAME_CLASS.
+
+2010-12-08  Ian Lance Taylor  <iant@google.com>
+
+       * doc/sourcebuild.texi (Front End): Remove reference to
+       snapshot-README and snapshot-index.html.
+
+2010-12-08  Ian Lance Taylor  <iant@google.com>
+
+       * doc/sourcebuild.texi (Texinfo Manuals): Change update_web_docs
+       to update_web_docs_svn.
+       (Front End): Likewise.
+
+2010-12-08  Iain Sandoe <iains@gcc.gnu.org>
+
+       gcc/config.gcc (with_cpu): Default i[34567]86-*-darwin* and
+       x86_64-*-darwin* to with_cpu:-core2.
+       gcc/config/i386/mmx.md (*mov<mode>_internal_rex64): Replace movq
+       with movd for darwin assembler.
+       gcc/config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto.
+       (*vec_concatv2di_rex64_sse): Ditto.
+
+2010-12-08  Richard Guenther  <rguenther@suse.de>
+           Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/45230
+       PR tree-optimization/45231
+       PR tree-optimization/45370
+       * sese.c (rename_uses): Returns a bool.  Call
+       recompute_tree_invariant_for_addr_expr only on the RHS of a
+       GIMPLE_ASSIGN.
+       (graphite_copy_stmts_from_block): Call fold_stmt_inplace when
+       rename_uses returns true.
+       * tree-ssa-copy.c (replace_exp): Add a comment about calling
+       fold_stmt_inplace after replace_exp.
+
+2010-12-08  Mike Stump  <mikestump@comcast.net>
+
+       PR debug/46749
+       * config/darwin.h (COLLECT_RUN_DSYMUTIL): Add.
+       (DSYMUTIL_SPEC): Use `linker' flags instead to handle lto better.
+       * config/darwin9.h (COLLECT_RUN_DSYMUTIL): Add.
+       (DSYMUTIL_SPEC): Use `linker' flags instead to handle lto better.
+       * collect2.c (post_ld_pass): Add.
+       (process_args): Add.
+       (maybe_run_lto_and_relink): Call post_ld_pass after ld.
+       (main): Likewise.  Call process_args.
+
+2010-12-08  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/46844
+       * regrename.c (check_new_reg_p): Add ATTRIBUTE_UNUSED to reg
+       parameter.
+
+2010-12-08  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR target/46631
+       * arm.c (thumb2_reorg): Also try to reduce <commutative_op> Rd, Rn, Rd
+       into a 16-bit instruction.
+
+2010-12-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       PR middle-end/42694
+       * builtins.c (expand_builtin_pow_root): Don't optimize pow(x,y)
+       where y is 0.25, 1./6., or 0.75 if the target does not have a sqrt
+       instruction, but do optimize if y is 0.5 or 1./3. since that
+       changes an expensive call into a cheaper one.
+
+2010-12-08  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use a shift
+       instead of a division to divide by BITS_PER_UNIT.
+
+2010-12-08  Richard Guenther  <rguenther@suse.de>
+
+       * gimplify.c (gimple_tree_eq): Assert hashes are equal only
+       when checking is enabled.
+
 2010-12-07  Andrey Belevantsev  <abel@ispras.ru>
 
        PR target/43603