OSDN Git Service

PR middle-end/20623
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 61f6833..bafa24e 100644 (file)
@@ -1,3 +1,156 @@
+2007-06-21  Sebastian Pop  <sebpop@gmail.com>
+
+       PR middle-end/20623
+       * tree.h (debug_fold_checksum): Declared.
+       * fold-const.c (build_fold_addr_expr_with_type_1): New.
+       (build_fold_addr_expr_with_type, build_fold_addr_expr): Use 
+       build_fold_addr_expr_with_type_1.
+       (fold_addr_expr, debug_fold_checksum): New.
+       (fold_checksum_tree): Don't fold TREE_CHAIN of an SSA_NAME.
+       (fold_unary, fold_comparison, split_address_to_core_and_offset):
+       Use fold_addr_expr.
+       
+2007-06-21  Sebastian Pop  <sebpop@gmail.com>
+
+       PR tree-optimization/19590
+       * tree-vrp.c (adjust_range_with_scev): Set the range when the result
+       of scev is a constant.
+       * gcc/testsuite/gcc.dg/tree-ssa/pr19590.c: New.
+
+2007-06-21  Kenneth Zadeck <zadeck@naturalbridge.com>
+
+        * df-problems.c (df_note_bb_compute): Made computation of live
+       info consistent with df_lr.
+
+2007-06-21  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/32453
+       * tree-vrp.c (extract_range_from_assert): Build POINTER_PLUS_EXPR
+       for pointer anti-range.
+
+2007-06-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.c (processor_target_table): Increase maximum
+       skip from 7 byte to 10 byte for Pentium Pro, Core 2 Duo and
+       default 64bit.
+
+       * config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Ensure 8
+       byte alignment if > 8 byte alignment is preferred.
+       * config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
+
+2007-06-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/31866
+       * tree-ssa-coalesce.c (create_outofssa_var_map): Do nothing
+       if ASM_EXPR's input is not a SSA_NAME.
+
+       PR middle-end/32362
+       * omp-low.c (lookup_decl_in_outer_ctx): Don't ICE if t is NULL,
+       but decl is a global var, instead return decl.
+       * gimplify.c (gimplify_adjust_omp_clauses_1): Add shared clauses
+       even for is_global_var decls, if they are private in some outer
+       context.
+
+2007-06-21  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/32451
+       * tree-ssa-threadupdate.c (thread_single_edge): Fixup edge flags.
+
+2007-06-21  Christian Bruel  <christian.bruel@st.com>
+
+       * config/sh/sh-protos.h (sh_loads_bankedreg_p): Declare.
+       * config/sh/sh.c (sh_loads_bankedreg_p): New function.
+       (push_regs): Changed saving order or banked registers.
+       (sh_expand_epilogue): Likewise.
+       * config/sh/sh.h (BANKED_REGISTER_P): New macro.
+       (FIRST_BANKED_REG): Likewise.
+       (LAST_BANKED_REG): Likewise.
+       * config/sh/sh.md (banked) New attribute.
+       (in_delay_slot): Check banked attribute.
+       
+2007-06-20  Sebastian Pop  <sebpop@gmail.com>
+
+       PR tree-optimization/32075
+       * tree-data-ref.c (subscript_dependence_tester_1, 
+       analyze_miv_subscript, analyze_overlapping_iterations,
+       add_distance_for_zero_overlaps, build_classic_dist_vector,
+       subscript_dependence_tester_1, analyze_overlapping_iterations,
+       subscript_dependence_tester, access_functions_are_affine_or_constant_p,
+       compute_affine_dependence, compute_all_dependences): Pass loop_nest 
+       to evolution_function_is_affine_multivariate_p.
+
+2007-06-20  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * df-scan.c (df_get_call_refs): Be prepared for MEMs inside CLOBBERs.
+
+2007-06-20  Rask Ingemann Lambertsen  <rask@sygehus.dk>
+
+       PR target/32335
+       * config/m32c/m32c.c (m32c_emit_epilogue): Use new HImode epilogue
+       for TARGET_A16.
+       * config/m32c/prologue.md (epilogue_exitd_16): New.
+       (epilogue_reit_16): New.
+       (epilogue_exitd): Rename to epilogue_exitd_24.
+       (epilogue_reit): Rename to epilogue_reit_24.
+
+2007-06-20  Seongbae Park  <seongbae.park@gmail.com>
+            Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>
+
+       * dbgcnt.def (global_alloc_at_func, global_alloc_at_reg):
+       New counters.
+       * haifa-sched.c (queue_to_ready): Don't requeue next insn
+       if dbg_cnt (sched_insn) reaches the limit.
+       (choose_ready): New parameter INSN_PTR and new return value.
+       (schedule_block): Handle dbg_cnt (sched_insn). Handle
+       the new return value from choose_ready.
+       * global.c (global_aloc): New dbgcnt global_alloc_at_reg.
+       (rest_of_handle_global_alloc): New global_alloc_at_func.
+
+2007-06-20  Adam Nemet  <anemet@caviumnetworks.com>
+
+       PR tree-optimization/25737
+       * tree.h (struct tree_struct_field_tag): Add new field alias_set.
+       (SFT_NONADDRESSABLE_P, SFT_ALIAS_SET): New macros.
+       * tree-flow.h (struct fieldoff): Add new field alias_set.
+       * tree-ssa-structalias.c (push_fields_onto_fieldstack): Add new
+       argument addressable_type.  Set alias_set of fieldoff.
+       * tree-ssa-alias.c (create_sft): Add new argument alias_set.
+       (create_overlap_variables_for): Pass alias_set from fieldoff to
+       create_sft.
+       * alias.c (get_alias_set): Use alias_set from SFT if set.
+
+2007-06-20  Hui-May Chang  <hm.chang@apple.com>
+
+       * config/i386/darwin.h (ASM_OUTPUT_COMMON): Print the size
+       of a variable as an unsigned HOST_WIDE_INT integer.
+
+2007-06-20  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       PR rtl-optimization/32405
+       * loop-iv.c (iv_get_reaching_def): Fail for partial defs.
+
+2007-06-20  Jakub Jelinek  <jakub@redhat.com>
+
+       * Makefile.in (omega.o): Depend on $(DIAGNOSTIC_H).
+
+       PR middle-end/31959
+       * builtins.c: Include diagnostic.h.
+       (expand_builtin_expect): Make gcc_assert more permissive.
+       * Makefile.in (builtins.o): Depend on $(DIAGNOSTIC_H).
+
+       PR inline-asm/32109
+       * gimplify.c (gimplify_asm_expr): Issue error if type is addressable
+       and !allows_mem.
+
+       PR middle-end/32285
+       * calls.c (precompute_arguments): Also precompute CALL_EXPR arguments
+       if ACCUMULATE_OUTGOING_ARGS.
+
+2007-06-19  Rask Ingemann Lambertsen  <rask@sygehus.dk>
+
+       * config/m68hc11/m68hc11.c: Include dataflow header file.
+       (m68hc11_reorg): Port to dataflow.
+
 2007-06-19  Kenneth Zadeck <zadeck@naturalbridge.com>
 
        * df.h (DF_FIRST_OPTIONAL_PROBLEM): Removed.
        offsets->locals_base to avoid negative stack size.
        (thumb1_expand_prologue): Assert on negative stack size.
 
-2007-04-11  Sebastian Pop  <sebpop@gmail.com>
+2007-04-19  Sebastian Pop  <sebpop@gmail.com>
 
        PR tree-optimization/32367
        * tree-chrec.h (build_polynomial_chrec): Verify that the left hand side 
        PR tree-optimization/32353
        * tree-ssa-structalias.c (set_uids_in_ptset): Also handle RESULT_DECL.
 
+2007-06-19  Nick Clifton  <nickc@redhat.com>
+
+       * config/m32r/linux.h (LIB_SPEC): Always imply -lpthread for
+       -pthread.
+
 2007-06-18  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/32389