OSDN Git Service

* doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index ca67d10..e799c94 100644 (file)
@@ -1,3 +1,164 @@
+2010-01-22  Joern Rennecke  <amylaar@spamcop.net>
+
+       * doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type.
+
+2010-01-21  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/42585
+       * tree-sra.c (struct access): New field grp_total_scalarization.
+       (dump_access): Dump the new field.
+       (should_scalarize_away_bitmap): New variable.
+       (cannot_scalarize_away_bitmap): Likewise.
+       (sra_initialize): Allocate new bitmaps.
+       (sra_deinitialize): Free new bitmaps.
+       (create_access_1): New function.
+       (create_access): Parts moved to create_access_1.
+       (type_consists_of_records_p): New function.
+       (completely_scalarize_record): Likewise.
+       (build_access_from_expr): Set bit in cannot_scalarize_away_bitmap.
+       (build_accesses_from_assign): Set bits in should_scalarize_away_bitmap.
+       (sort_and_splice_var_accesses): Hint groups with a total_scalarization
+       access.
+       (analyze_all_variable_accesses): Completely scalarize small eligible
+       records.
+
+2010-01-21  Martin Jambor  <mjambor@suse.cz>
+
+       * tree-sra.c (build_ref_for_offset_1): Allow for zero size fields.
+
+2010-01-21  Andrew Haley  <aph@redhat.com>
+
+        * gcc.c (process_command): Move lang_specific_driver before
+        setting cc_libexec_prefix.
+
+2010-01-21  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/19988
+       * fold-const.c (negate_expr_p): Pretend only negative
+       real constants are easily negatable.
+
+2010-01-20  Janis Johnson  <janis187@us.ibm.com>
+           Jason Merrill  <jason@redhat.com>
+
+       * tree.h (TYPE_TRANSPARENT_UNION): Replace with ...
+       (TYPE_TRANSPARENT_AGGR): this, for union and record.
+       * calls.c (initialize argument_information): Handle it.
+       * c-common.c (handle_transparent_union_attribute): Use new name.
+       * c-decl.c (finish_struct): Ditto.
+       * c-typeck.c (type_lists_compatible_p): Ditto.
+       (convert_for_assignment): Use new name and also handle record.
+       * function.c (aggregate_value_p): Handle it.
+       (pass_by_reference): Ditto.
+       (assign_parm_data_types): Ditto.
+       * print-tree.c (print_node): Ditto.
+       * lto-streamer-in.c (unpack_ts_type_value_fields): Ditto.
+       * lto-streamer-out.c (pack_ts_type_value_fields): Ditto.
+       * tree.c (first_field): New fn.
+
+2010-01-21  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR target/42818
+       * config/i386/cygwin.h (CXX_WRAP_SPEC_LIST): Always apply wrappers,
+       even when linking statically, for now.
+
+2010-01-20  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/42715
+       * var-tracking.c (use_type): Choose MO_VAL_SET for REGs set
+       without a cselib val.
+       (count_uses): Accept MO_VAL_SET with no val on stores.
+       (add_stores): Likewise.
+
+2010-01-20  Jakub Jelinek  <jakub@redhat.com>
+
+       * var-tracking.c (check_value_val): Add a compile time assertion.
+       (dv_is_decl_p): Simplify.
+       (dv_as_decl, dv_as_value, dv_from_decl, dv_from_value): Only use
+       gcc_assert if ENABLE_CHECKING.
+
+2010-01-20  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/42782
+       * var-tracking.c: Include tree-flow.h.
+       (mem_dies_at_call): New.
+       (dataflow_set_preserve_mem_locs): Use it.
+       (dataflow_set_remove_mem_locs): Likewise.
+       (dump_var): Renamed from dump_variable.  Adjust all callers.
+       (dump_var_slot): Renamed from dump_variable_slot.  Likewise.
+       * Makefile.in (var-tracking.o): Adjust deps.
+
+2010-01-20  Joern Rennecke  <amylaar@spamcop.net>
+
+       * doc/tm.texi (TARGET_SCHED_SET_SCHED_FLAGS): Fix argument list.
+
+2010-01-20  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/42717
+       * tree-ssa-dce.c (get_live_post_dom): Remove.
+       (forward_edge_to_pdom): Take an arbitrary edge to copy
+       degenerate PHI args from.
+       (remove_dead_stmt): Use the first post-dominator even if it
+       does not contain live statements as redirection destination.
+
+2010-01-20  Richard Guenther  <rguenther@suse.de>
+
+       * tree-inline.c (estimate_num_insns): Handle EH builtins.
+
+2010-01-20  Jakub Jelinek  <jakub@redhat.com>
+
+       * sel-sched.c (create_speculation_check): Remove set but not used
+       variable twin.
+       (try_transformation_cache): Remove set but not used variable ds.
+       (calculate_privileged_insns): Remove set but not used variables
+       cur_insn and min_spec_insn.
+       (find_best_expr): Remove set but not used variable avail_n.
+       * tree-predcom.c (base_names_in_chain_on): Remove set but not used
+       variable e.
+       * cgraphunit.c (assemble_thunk): Remove set but not used variable
+       false_label.
+       * haifa-sched.c (remove_notes): Remove set but not used variable prev.
+       * graphite-clast-to-gimple.c (gloog): Remove set but not used variable
+       new_scop_exit_edge.
+
+2010-01-20  Felyza Wishbringer  <fwishbringer@gmail.com>
+
+       PR bootstrap/42786
+       * config.gcc (i[34567]86-*-*): Fix handling of athlon64 and athlon-fx
+       cpu types.  Add support for *-sse3 cpu types.
+       (x86_64-*-*): Ditto.
+
+2010-01-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/42803
+       * varasm.c (narrowing_initializer_constant_valid_p): Add CACHE
+       argument, call initializer_constant_valid_p_1 instead of
+       initializer_constant_valid_p, pass CACHE to it, return NULL
+       immediately if first call returns NULL.
+       (initializer_constant_valid_p_1): New function.
+       (initializer_constant_valid_p): Use it.
+
+2010-01-20  Thomas Quinot  <quinot@adacore.com>
+
+       * tree.def (PLACEHOLDER_EXPR): Fix comment.
+
+2010-01-20  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2out.c (mem_loc_descriptor): Use DW_OP_mod for UMOD instead
+       of MOD, handle MOD using DW_OP_{over,over,div,mul,minus}.
+       (loc_list_from_tree): Don't handle unsigned division.  Handle
+       signed modulo using DW_OP_{over,over,div,mul,minus}.
+       * unwind-dw2.c (execute_stack_op): Handle DW_OP_mod using unsigned
+       modulo instead of signed.
+
+2010-01-20  DJ Delorie  <dj@redhat.com>
+
+       * config/h8300/h8300.c (F): Add "in_epilogue" flag.
+       (Fpa): Pass it
+       (h8300_emit_stack_adjustment): Propogate it.
+       (push): Pass it.
+       (h8300_expand_prologue): Likewise.
+       (h8300_expand_epilogue): Likewise.
+
 2010-01-19  Michael Matz  <matz@suse.de>
 
        PR tree-optimization/41783