OSDN Git Service

* tree.h (struct tree_struct_field_tag): Move field
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index c576ae9..806240f 100644 (file)
@@ -1,3 +1,96 @@
+2007-11-07  Diego Novillo  <dnovillo@google.com>
+
+       * tree.h (struct tree_struct_field_tag): Move field
+       in_nested_struct ...
+       (struct tree_memory_tag): ... here.
+
+2007-11-07  Diego Novillo  <dnovillo@google.com>
+
+       PR 33870
+       * tree.h (struct tree_struct_field_tag): Add field in_nested_struct.
+       (SFT_IN_NESTED_STRUCT): Define.
+       * tree-dfa.c (dump_subvars_for): Show offset of each
+       sub-var.
+       * tree-flow.h (struct fieldoff): Add field in_nested_struct.
+       * tree-ssa-structalias.c (struct variable_info): Likewise.
+       (push_fields_onto_fieldstack): If OFFSET is positive,
+       set in_nested_struct.
+       (create_variable_info_for): Copy setting of
+       in_nested_struct from the field offset object.
+       (set_uids_in_ptset): Set SFT_IN_NESTED_STRUCT from the
+       variable info object.
+       * tree-ssa-operands.c (add_vars_for_offset): If VAR
+       belongs to a nested structure, adjust OFFSET by
+       SFT_OFFSET(VAR).
+
+2007-11-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR rtl-optimization/33737
+       * cfgcleanup.c (try_crossjump_to_edge): Add count and frequency of
+       target block after computing the probabilities of outgoing edges.
+       Cap the frequency to BB_FREQ_MAX.
+       * tree-ssa-threadupdate.c (redirect_edges): Also adjust count and
+       frequency of the basic block if it has been reused.
+
+2007-11-07  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR rtl-optimization/33822
+       * rtl.h (REG_OFFSET): Fix comment.
+       * var-tracking.c (INT_MEM_OFFSET): New macro.
+       (var_mem_set): Use it.
+       (var_mem_delete_and_set): Likewise.
+       (var_mem_delete): Likewise.
+       (same_variable_part_p): Likewise.
+       (vt_get_decl_and_offset): Likewise.
+       (offset_valid_for_tracked_p): New predicate.
+       (count_uses): Do not track locations with invalid offsets.
+       (add_uses): Likewise.
+       (add_stores): Likewise.
+
+2007-11-07  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (tree-ssa-structalias.o): Depend on $(FUNCTION_H)
+       (BASIC_BLOCK_H): Add vec.h, $(FUNCTION_H).
+
+2007-11-07  Dmitry Zhurikhin  <zhur@ispras.ru>
+           Andrey Belevantsev  <abel@ispras.ru>
+
+       * modulo-sched.c (sms_order_nodes, permute_partial_schedule,
+       generate_prolog_epilog, duplicate_insns_of_cycles): Fix prototypes.
+       (calculate_order_params, sms_order_nodes): New parameter pmax_asap.
+       Save calculated max_asap in it.         
+       (sms_schedule): Calculate maxii using max_asap.
+
+2007-11-07  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * doc/invoke.texi: Replace rs6000 dfp switches -mdfp/-mno-dfp
+       with -mhard-dfp/-mno-hard-dfp.
+
+2007-11-07  Maxim Kuvyrkov  <maxim@codesourcery.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/33670
+       * haifa-sched.c (check_sched_flags): Remove.
+       (sched_init): Don't call it.
+
+2007-11-06  Diego Novillo  <dnovillo@google.com>
+
+       * tree-flow.h (struct fieldoff): Reformat comment.
+       Document fields.
+       * tree-ssa-operands.c: Tidy top-level comments.
+       (add_vop): Likewise.
+       (add_vars_for_offset): Tidy parameter formatting..
+       (get_addr_dereference_operands): Likewise.
+       (get_indirect_ref_operands): Likewise.
+       (get_expr_operands) <OMP_ATOMIC_LOAD>: Reformat.
+       <OMP_ATOMIC_STORE>: Likewise.
+
+2007-11-06  Rask Ingemann Lambertsen  <rask@sygehus.dk>
+
+       PR target/32787
+       * config/i386/driver-i386.c: Test for __GNUC__ instead of
+       GCC_VERSION which is always defined.
+
 2007-11-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        PR target/30961
 
        * config/xtensa/xtensa.c (xtensa_expand_nonlocal_goto): Do not
        replace references to virtual_stack_vars_rtx in goto_handler.
-       
+
 2007-11-05  Paul Brook  <paul@codesourcery.com>
 
-       * Makefile.target: Add ssd0303.o, pl022.o and ssd0323.o.
-       * vl.c (register_machines): Add lm3s6965evb_machine.
-       * vl.h (armv7m_init): Add.
-       (lm3s6965evb_machine): Declare.
-       (pl022_init): New prototype.
-       (ssd0323_xfer_ssi, ssd0323_init): New prototype.
-       * hw/ssd0323.c: New file.
-       * hw/armv7m.c (armv7m_init): Remove board init code.
-       (lm3s811evb_machine): Remove.
-       * hw/osram_oled.c: Rename...
-       * hw/ssd0303.c: ... to this.
-       * hw/pl022.c: New file.
-       * hw/stellaris.c: Define and use stellaris_boards.
-       (lm3s811evb_machine, lm3s6965evb_machine): New.
+       * config.gcc (arm*-*-*): Set c_target_objs and cxx_target_objs.
+       * config/arm/arm.c (arm_lang_output_object_attributes_hook): New.
+       (arm_file_start): Don't set Tag_ABI_PCS_wchar_t.  Call
+       arm_lang_output_object_attributes_hook.
+       * config/arm/arm.h (arm_lang_output_object_attributes_hook): Declare.
+       (REGISTER_TARGET_PRAGMAS): Call arm_lang_object_attributes_init.
+       * config/arm/arm-protos.h (arm_lang_object_attributes_init): Add
+       prototype.
+       * config/arm/t-arm.c (arm.o): New rule.
+       * config/arm/arm-c.c: New file.
 
 2007-11-05  Nick Clifton  <nickc@redhat.com>
            Sebastian Pop  <sebastian.pop@amd.com>