OSDN Git Service

2010-01-21 Martin Jambor <mjambor@suse.cz>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index b926d9e..6eb6102 100644 (file)
@@ -1,3 +1,77 @@
+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