OSDN Git Service

PR c/27898
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 722ec42..e500186 100644 (file)
@@ -1,3 +1,91 @@
+2007-11-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR c/27898
+       * c-typeck.c (tagged_types_tu_compatible_p): Enable exact
+       matches between anonymous union fields.
+
+2007-11-26  Alexandre Oliva  <aoliva@redhat.com>, Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-live.c (remove_unused_scope_block_p): Drop
+       declarations and blocks only after inlining.  Check that
+       non-empty blocks are not dropped.
+       * tree-inline.c (expand_call_inline): Check that functions are
+       not inlined too late.
+
+2007-11-26  Ben Elliston  <bje@au.ibm.com>
+
+       * unwind-dw2-fde.c: Fix comment typo.
+       * unwind-generic.h: Likewise, fix comment typos.
+       
+2007-11-25  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * tree-sra.c (scalarize_use): Adjust the vpos argument to
+       sra_explode_bitfield_assignment in cases where the type is
+       wider than the bitfield.
+
+2007-11-25  Richard Guenther  <rguenther@suse.de>
+
+       * tree.h (struct tree_block): Move locus member next to
+       flags.
+       * c-decl.c (SCOPE_LIST_APPEND): Use BLOCK_CHAIN.
+       (SCOPE_LIST_CONCAT): Likewise.
+       (pop_scope): Likewise.
+       * function.c (instantiate_decls_1): Likewise.
+       (setjmp_vars_warning): Likewise.
+       * emit-rtl.c (set_used_decls): Likewise.
+       * tree-inline.c (add_lexical_block): Likewise.
+
+2007-11-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       * rtlanal.c (label_is_jump_target_p): Return true for a matching
+       REG_LABEL_TARGET.
+       * reorg.c (fill_slots_from_thread): Correct last change to use
+       NULL_RTX, not NULL.  Outside of REG_NOTES loop, increase and
+       decrease LABEL_NUSES for JUMP_LABEL (trial), not XEXP (note, 0).
+       * jump.c (mark_jump_label_1): Add comment for last change
+       regarding JUMP_LABEL setting.
+       * gcse.c (add_label_notes): Remove conditional that the label is
+       mentioned in insn before adding regnote.
+       * sched-rgn.c (is_cfg_nonregular): Don't return 1 for a
+       single_set insn only feeding a label to a jump through a
+       register that dies there.
+
+2007-11-23  Dirk Mueller  <dmueller@suse.de>
+       Richard Guenther <rguenther@suse.de>
+
+       PR middle-end/34197
+       * tree-vrp.c (check_array_ref): Move check for valid location..
+       (check_array_bounds) here. Use EXPR_HAS_LOCATION().
+
+2007-11-23  Hans-Peter Nilsson  <hp@axis.com>
+
+       * reload.c (find_reloads_address_1) <autoincdec cases>:
+       Call REG_OK_FOR_CONTEXT with the autoincdec code, not
+       outer_code.
+
+2007-11-23  Richard Guenther  <rguenther@suse.de>
+       Michael Matz  <matz@suse.de>
+
+       PR tree-optimization/34176
+       * alloc-pool.h (empty_alloc_pool): Declare.
+       * alloc-pool.c (empty_alloc_pool): New function.
+       * tree-ssa-sccvn.c (vn_reference_lookup): Also lookup from the
+       valid table if a lookup from the optimistic table failed.
+       (vn_unary_op_lookup): Likewise.
+       (vn_binary_op_lookup): Likewise.
+       (vn_phi_lookup): Likewise.
+       (process_scc): Clear optimistic tables before every iteration.
+
+2007-11-23  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-copy.c (may_propagate_copy): Remove redundant
+       checks.
+       (merge_alias_info): Do verification only if checking is
+       enabled.  Merge flow-sensitive alias information in simple
+       cases.
+       * tree-ssa-operands.c (get_addr_dereference_operands): Also
+       complain about missing NMTs.
+
 2007-11-23  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/34198