OSDN Git Service

2010-12-09 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 36e8733..7380a97 100644 (file)
@@ -1,3 +1,246 @@
+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
+       * haifa-sched.c (sched_create_recovery_edges): Update
+       dominator info.
+       * sel-sched-ir.c (maybe_tidy_empty_bb): Update dominator info
+       after deleting an empty block.
+       (tidy_control_flow): Also verify dominators.
+       (sel_remove_bb): Update dominator info after removing a block.
+       (sel_redirect_edge_and_branch_force): Assert that no unreachable
+       blocks will be created. Update dominator info.
+       (sel_redirect_edge_and_branch): Update dominator info when
+       basic blocks do not become unreachable.
+       (sel_remove_loop_preheader): Update dominator info. 
+
+2010-12-07  Richard Guenther  <rguenther@suse.de>
+
+       * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref):
+       Reset alignment information.
+       (bump_vector_ptr): Likewise.
+
+2010-12-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR middle-end/46671
+       PR target/46685
+       * config/pa/pa.c (pa_function_section): New function.
+       (TARGET_ASM_FUNCTION_SECTION): Define.
+
+2010-12-07  Ian Lance Taylor  <iant@google.com>
+           Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR bootstrap/46810
+       * configure.ac: Disable AC_MSG_ERROR while looking for the C++
+       preprocessor.
+       * configure: Rebuild.
+
+2010-12-07  Paul Koning  <ni1d@arrl.net>
+
+       * config/pdp11/pdp11.c (output_addr_const_pdp11): Output negative
+       values with sign rather than as unsigned.
+
+2010-12-07  Paul Koning  <ni1d@arrl.net>
+
+       * config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_SECTION): Define.
+       (pdp11_function_section): New function.
+
+2010-12-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/mcore/mcore.c Don't include assert.h.
+       (layout_mcore_frame, handle_structs_in_regs): Use gcc_assert.
+       * config/spu/spu.c: Don't include assert.h.
+       (spu_sms_res_mii): Use gcc_assert.
+
+2010-12-07  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/42327
+       * tree-data-ref.c (omega_setup_subscript): Call build_int_cst
+       instead of using integer_minus_one_node.
+
+2010-12-07  Nathan Froyd  <froydnj@codesourcery.com>
+
+       PR c++/45330
+       * params.def (CXX_MAX_NAMESPACES_FOR_DIAGNOSTIC_HELP): New parameter.
+       * doc/invoke.texi (cxx-max-namespaces-for-diagnostic-help): Document.
+
+2010-12-07  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/46832
+       * tree-ssa-math-opts.c (execute_optimize_widening_mul): Check
+       that the call has a lhs.
+
+2010-12-07  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in: Add $(TARGET_H) to the regrename.o rule.
+       * regrename.c (struct du_head): Add new element length.
+       (sort_du_head, get_element, merge, merge_sort_comparison):
+       New functions of merge sort implementation to du_head list.
+       (regrename_optimize): Sort du_head linked list by length.
+       Iterate registers in a preferred-register-first order.
+       Move some code to ...
+       (check_new_reg_p): here.  New function.
+       (create_new_chain):  Initialize length.
+       (scan_rtx_reg): Increase length for non-debug insns.
+       * target.def: New hook preferred_rename_class.
+       * targhook.c (default_preferred_rename_class): New.
+       * targhook.h: Declare it.
+       * doc/tm.texi.in: New hook TARGET_PREFERRED_RENAME_CLASS.
+       * doc/tm.texi: Regenerate.
+
+2010-12-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/46799
+       * tree-parloops.c (separate_decls_in_region): Use UNKNOWN_LOCATION
+       instead of BUILTINS_LOCATION.
+       (create_loop_fn): Add LOC argument, pass it to build_decl instead of
+       BUILTINS_LOCATION.
+       (create_parallel_loop): Add LOC argument, use it for OMP clauses
+       and GIMPLE_*OMP* statements.
+       (gen_parallel_loop): Determine locus for the parallel loop, pass it
+       to create_loop_fn and create_parallel_loop.
+       * cfgexpand.c (gimple_expand_cfg): For builtin functions, call
+       set_curr_insn_source_location (UNKNOWN_LOCATION).
+
+2010-12-07  Joern Rennecke  <amylaar@spamcop.net>
+           Richard Guenther  <rguenther@suse.de>
+
+       PR target/46737
+       * config/bfin/bfin.c (BB_AUX_INDEX): Cast to intptr_t.
+       (bfin_reorder_loops): Change type of index to intptr_t.
+
+2010-12-07  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/46726
+       * tree-inline.c (estimate_num_insns): Special case pow (x, 2.0).
+
+2010-12-07  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-math-opts.c (execute_optimize_widening_mul): Unlink
+       virtual operands.
+
 2010-12-07  Nicola Pero  <nicola.pero@meta-innovation.com>
 
        * c-parser.c (c_parser_typeof_specifier): Removed special
        * c-family/c-format.c: Same change.
        * c-family/stub-objc.c: Same change.
        * c-decl.c: Include c-family/c-objc.h.
-       * c-parser.c: Same change.      
+       * c-parser.c: Same change.
        * c-typeck.c: Same change.
        * c-config-lang.in (gtfiles): Added c-family/c-objc.h.
        * Makefile.in (c-decl.o): Depend on c-family/c-objc.h.
        (c-family/stub-objc.o): Same change.
        (c-family/c-common.o): Same change.
        (PLUGIN_HEADERS): Added c-family/c-objc.h.
-       
+
 2010-12-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        * config.gcc [hppa[12]*-*-hpux10*, hppa[12]*-*-hpux11*]:  Ignore