OSDN Git Service

PR middle-end/46844
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index b6269f7..3f99dc6 100644 (file)
@@ -1,3 +1,163 @@
+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
+       treatment of objc_volatilized attribute for Objective-C.
+
+2010-12-06  Vladimir Makarov  <vmakarov@redhat.com>
+
+       * ira.c (update_equiv_regs): Prohibit move insns if
+       pressure-sensitive scheduling was done.
+
 2010-12-06  Nicola Pero  <nicola.pero@meta-innovation.com>
 
        * c-parser.c (c_parser_for_statement): Use c_fully_fold() instead
        * 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