+2008-09-11 Jan Hubicka <jh@suse.cz>
+
+ * toplev.c (dump_memory_report): Call dump_vec_loc_statistics.
+ * vec.c: Include hashtab.h
+ (vec_descriptor, ptr_hash_entry): New structures.
+ (vec_desc_hash, vec_ptr_map): New static variables.
+ (hash_descriptor, eq_descriptor, hash_ptr, eq_ptr, vec_descriptor,
+ register_overhead, free_overhead, vec_heap_free): New functions.
+ (vec_gc_o_reserve_1): ggc_free when resizing to 0.
+ (vec_heap_o_reserve_1): free when resizing to 0; add statistics.
+ (cmp_statistic, add_statistics, dump_vec_loc_statistics): New functions.
+
+2008-09-11 Ira Rosen <irar@il.ibm.com>
+
+ PR tree-optimization/37474
+ * tree-vect-analyze.c (vect_supported_load_permutation_p): Check the
+ length of load permutation.
+
+2008-09-11 Andreas Schwab <schwab@suse.de>
+
+ * config/m68k/m68k.h (IRA_COVER_CLASSES): Define.
+
+2008-09-11 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/37382
+ * expmed.c (extract_low_bits): Avoid creating invalid subregs.
+ * dse.c (find_shift_sequence): Use extract_low_bits instead of
+ simplify_gen_subreg.
+
+2008-09-11 Ira Rosen <irar@il.ibm.com>
+
+ * tree-vect-transform.c (vectorizable_store): Use the rhs vector type
+ for alias check.
+
+2008-09-10 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/37338
+ * gimplify.c (gimplify_body): Call default_rtl_profile.
+
+ PR target/36904
+ * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): Return NULL
+ instead of tok->val.node if not expanding to something else. Handle
+ intervening CPP_PADDING tokens.
+ (altivec_categorize_keyword): Remove unneeded comparisons.
+
+2008-09-10 Richard Guenther <rguenther@suse.de>
+
+ * tree-ssa-pre.c (phi_translate_1): Fix memory leak.
+
+2008-09-10 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/37432
+ * tree-inline.c (insert_init_stmt): Make sure to not
+ insert invalid gimple stores.
+
+2008-09-10 Sebastian Pop <sebastian.pop@amd.com>
+
+ PR tree-optimization/37388
+ * toplev.c (process_options): Fail and warn when graphite
+ flags are used, but the compiler has not been configured
+ with graphite libraries.
+ * graphite.c (graphite_transform_loops): Remove printfs
+ to dump_file for the case when graphite is not available.
+
+2008-09-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/37434:
+ * config/i386/i386.c (ix86_expand_vector_init_interleave): Force
+ the even element into register.
+ (ix86_expand_vector_init_general): Don't use
+ ix86_expand_vector_init_interleave on V16QImode and V8HImode
+ if we can't move from GPR to SSE register directly.
+
+2008-09-10 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * config/bfin/bfin.c (workaround_speculation): Correct algorithm to
+ not lose track of the number of NOPs needed. Number of NOPs needed
+ for sync vs. loads workaround was switched; corrected. Run second
+ pass for all workarounds. No NOPs needed after call insns. Change
+ second pass to use find_next_insn_start and find_load helpers in order
+ to properly detect parallel insns.
+ * config/bfin/bfin.md (cbranch_with_nops): Increase length.
+
+2008-09-10 Jan Hubicka <jh@suse.cz>
+
+ * value-prof.c (gimple_ic): Fix tuplification bug.
+ * sched-deps.c (sched_insns_conditions_mutex_p): Silence unitialized var
+ warning.
+
+2008-09-10 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/37353
+ * tree-call-cdce.c (cond_dead_built_in_calls): Remove.
+ (shrink_wrap_conditional_dead_built_in_calls): Add calls argument, use
+ calls instead of cond_dead_built_in_calls.
+ (tree_call_cdce): Add cond_dead_built_in_calls automatic variable,
+ initalize the vector only before adding first entry. Use VEC_safe_push
+ instead of VEC_quick_push. Pass cond_dead_built_in_calls to
+ shrink_wrap_conditional_dead_built_in_calls call.
+
+2008-09-10 Ira Rosen <irar@il.ibm.com>
+
+ PR tree-optimization/37385
+ * tree-vect-transform.c (vect_create_data_ref_ptr): Add a new argument,
+ and use it as a vector type if not NULL.
+ (vectorizable_store): Call vect_create_data_ref_ptr with the type of
+ vectorized rhs.
+ (vect_setup_realignment): Call vect_create_data_ref_ptr with additional
+ argument.
+ (vectorizable_load): Likewise.
+
+2008-09-10 Jakub Jelinek <jakub@redhat.com>
+
+ * config/i386/i386.md (SWI32): New mode iterator.
+ (jcc_fused_1, jcc_fused_2, jcc_fused_3, jcc_fused_4): Use it instead
+ of SWI.
+
+2008-09-09 Vladimir Makarov <vmakarov@redhat.com>
+
+ PR rtl-optimization/37435
+ * caller-save.c (insert_restore, insert_save): Check the mode by
+ reg_save_code.
+
+2008-09-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR other/37265
+ * dwarf2asm.c (dw2_force_const_mem): Use unstripped symbol name for
+ splay tree lookup.
+ (dw2_output_indirect_constant_1): Use unstripped name in symbol
+ reference.
+
+2008-09-09 Sandra Loosemore <sandra@codesourcery.com>
+
+ * doc/invoke.texi (ARM Options): Correct errors in discussion
+ of -mfloat-abi, -mhard-float, and -msoft-float.
+
+2008-09-09 Jakub Jelinek <jakub@redhat.com>
+ Jan Hubicka <jh@suse.cz>
+
+ PR middle-end/37356
+ * tree-inline.c (copy_bb): Insert stmt into copy_basic_block before
+ calling gimple_regimplify_operands on it. Iterate over all newly
+ added statements, not just the last one.
+ (insert_init_stmt): Insert stmt into seq first, then call
+ gimple_regimplify_operands on it. Don't create new gimplification
+ context, nor find referenced vars.
+
+2008-09-09 Jakub Jelinek <jakub@redhat.com>
+
+ PR other/37419
+ * ipa-prop.h (ipa_propagate_indirect_call_infos): Change last argument
+ to pointer to vector pointer.
+ * ipa-prop.c (ipa_propagate_indirect_call_infos,
+ propagate_info_to_inlined_callees): Likewise.
+ (update_call_notes_after_inlining): Likewise. Push new indirect edge
+ to *new_edges instead of new_edges. Reread IPA_EDGE_REF after
+ ipa_check_create_edge_args.
+ * ipa-inline.c (cgraph_decide_recursive_inlining): Change last argument
+ to pointer to vector pointer.
+ (cgraph_decide_inlining_of_small_function): Adjust
+ cgraph_decide_recursive_inlining and ipa_propagate_indirect_call_infos
+ calls.
+
+ PR target/37438
+ * config/i386/i386.md (zero_extendqihi2_movzbl): Enable when optimizing
+ for size, not speed.
+
+ PR rtl-optimization/37408
+ * function.c (assign_parm_find_stack_rtl): Set correct MEM_SIZE
+ if parm is promoted.
+
+2008-09-09 Sebastian Pop <sebastian.pop@amd.com>
+
+ PR tree-optimization/37375
+ * tree-scalar-evolution.c (scev_info_str): Add field instantiated_below.
+ (new_scev_info_str, eq_scev_info, find_var_scev_info,
+ set_scalar_evolution, get_scalar_evolution, get_instantiated_value,
+ set_instantiated_value): Pass instantiated_below.
+ (analyze_scalar_evolution_1, analyze_scalar_evolution): Update calls to
+ above functions.
+ (instantiate_scev_1, instantiate_scev): Pass a basic block above which the
+ definitions are not instantiated.
+
+ * tree-scalar-evolution.h (instantiate_scev): Update declaration.
+ (block_before_loop): New.
+ * tree-data-ref.c (dr_analyze_indices): Update uses of instantiate_scev.
+ * graphite.c (block_before_scop): New.
+ (loop_affine_expr, stmt_simple_for_scop_p, harmful_stmt_in_bb): Pass a
+ basic block, not a loop for determining the parameters.
+ (scopdet_edge_info, build_scops_1): Do not pass outermost loop in the
+ scop.
+ (idx_record_params, find_params_in_bb, find_scop_parameters,
+ build_loop_iteration_domains, add_conditions_to_domain): Update calls
+ to instantiate_scev.
+
+ * Makefile.in (cfgloopmanip.o): Add missing dependency on TREE_FLOW_H.
+
+2008-09-09 Vladimir Makarov <vmakarov@redhat.com>
+
+ PR rtl-opt/37333
+
+ * ira-build.c (ira_create_allocno): Setup frequency to 0.
+
+ * ira-color.c (update_conflict_hard_regno_costs): Remove assert.
+ Check zero freq and increase if necessary.
+
+2008-09-09 Vladimir Makarov <vmakarov@redhat.com>
+
+ * ira-conflicts.c (process_regs_for_copy): Check that the hard
+ regno is in the right range. Add comments.
+
+2008-09-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * Makefile.in (mips-tfile.o-warn): Don't error out on mips-tfile.c
+ warnings.
+ * mips-tfile.c (copy_object): Cast alloca result to int *.
+ * mips-tdump.c (print_symbol): Cast xmalloc return values to
+ proper types.
+ Rename class to sclass.
+ (read_tfile): Cast read_seek return values to proper types.
+ Cast xcalloc return value to proper type.
+
+2008-09-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * config/sol2.h (REGISTER_TARGET_PRAGMAS): Move ...
+ * config/i386/sol2.h (REGISTER_SUBTARGET_PRAGMAS): ... here.
+ * config/sparc/sol2.h (REGISTER_TARGET_PRAGMAS): ... and here.
+
+2008-09-09 Jan Hubicka <jh@suse.cz>
+
+ * profile.c (is_edge_inconsistent): Add debug output; ignore negative count
+ on fake edges.
+ (is_inconsistent): Add debug output.
+
+2008-09-09 Andrey Belevantsev <abel@ispras.ru>
+
+ * haifa-sched.c (advance_one_cycle): Do not print '\n' before printing
+ dump message.
+ (choose_ready): When first insn is chosen from the ready list, also
+ dump it.
+
+2008-09-09 Andrey Belevantsev <abel@ispras.ru>
+
+ PR rtl-optimization/37360
+ * haifa-sched.c (max_issue): Do not assert that we never issue more
+ insns than issue_rate. Add comment.
+
+2008-09-09 Richard Guenther <rguenther@suse.de>
+
+ * tree-cfg.c (verify_types_in_gimple_op): Remove.
+ (verify_types_in_gimple_call): Rename to ...
+ (verify_gimple_call): ... this. Enhance.
+ (verify_types_in_gimple_cond): Remove.
+ (verify_gimple_comparison): New function ...
+ (verify_types_in_gimple_assign): ... split out from here.
+ (verify_types_in_gimple_return): Rename to ...
+ (verify_gimple_return): ... this. Enhance.
+ (verify_types_in_gimple_switch): Rename to ...
+ (verify_gimple_switch): ... this. Enhance.
+ (verify_gimple_goto): New function.
+ (verify_types_in_gimple_phi): Rename to ...
+ (verify_gimple_phi): ... this. Enhance.
+ (verify_types_in_gimple_stmt): Adjust calls to helper functions.
+ Fold in single-statement cases from verify_types_in_gimple_seq_2.
+ (verify_types_in_gimple_seq_2): Remove cases handled in
+ verify_types_in_gimple_stmt.
+
+2008-09-09 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * config/bfin/bfin.c (n_regs_to_save): New static variable.
+ (push_multiple_operation, pop_multiple_operation): Set it.
+ (workaround_rts_anomaly): New function.
+ (workaround_speculation): New function, broken out of bfin_reorg.
+ (bfin_reorg): Call the new functions.
+
+2008-09-09 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/37354
+ PR middle-end/30165
+ * gimplify.c (gimplify_conversion): Change conversions of
+ non-register type to VIEW_CONVERT_EXPRs.
+ (gimplify_addr_expr): If we need to make the operand
+ addressable make sure to use a properly initialized
+ temporary for that so it gets a valid gimple store.
+
+2008-09-09 Aldy Hernandez <aldyh@redhat.com>
+
+ * function.h (struct function): Add function_start_locus.
+ * cfgexpand.c (gimple_expand_cfg): Use it.
+ * c-parser.c (c_parser_declaration_or_fndef): Set it.
+
+2008-09-09 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/37433
+ * tree-ssa-ccp.c (ccp_fold): Properly guard folding of
+ function calls.
+
+2008-09-09 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/37387
+ * tree-ssa-ifcombine.c (ifcombine_iforif): Convert the name
+ and bits to a common type.
+
+2008-09-09 Nick Clifton <nickc@redhat.com>
+
+ * config/v850/v850.md (return): Restore frame size restriction.
+
+2008-09-09 Paolo Bonzini <bonzini@gnu.org>
+
+ * c-common.c (c_expand_decl): Remove.
+ * c-common.h (anon_aggr_type_p): Remove prototype.
+ (DECL_ANON_UNION_ELEMS): Remove.
+ * c-objc-common.h (LANG_HOOKS_EXPAND_DECL): Remove.
+ * c-decl.c (anon_aggr_type_p): Remove.
+ * langhooks-def.h (LANG_HOOKS_EXPAND_DECL): Remove.
+ (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_EXPAND_DECL.
+ * langhooks.h (struct lang_hooks): Remove expand_decl.
+ * langhooks.c (lhd_expand_decl): Remove.
+ * stmt.c (expand_anon_union_decl): Remove.
+ * tree.h (expand_anon_union_decl): Remove prototype.
+
+2008-08-09 Andy Hutchinson <hutchinsonandy@aim.com>
+
+ PR target/36609
+ * config/avr/avr.c (avr_reorg): Create RTL for reversed compare with
+ zero.
+ * config/avr/avr.md (QISI) : Define mode iterator.
+ (negated_tst<mode>) : Redefine as split using mode macro.
+ (reversed_tstqi): Define insn as reversed compare with zero.
+ (reversed_tsthi): Ditto.
+ (reversed_tstsi): Ditto.
+
+2008-09-08 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/37393
+ * tree-inline.c (copy_bb): When replacing a gimple_call_va_arg_pack_p
+ call stmt by new_call, clear gimple_bb on stmt after gsi_replace.
+
+ PR middle-end/37414
+ * predict.c (optimize_function_for_size_p): Don't segfault if
+ FUN is NULL.
+ * fold-const.c (LOGICAL_OP_NON_SHORT_CIRCUIT, fold_truthop,
+ tree_swap_operands_p): Don't test cfun != NULL before calling
+ optimize_function_for_s*_p.
+
+2008-09-08 Eric Botcazou <ebotcazou@adacore.com>
+
+ * ira-color.c (ira_reuse_stack_slot): Set slot_num on success at the
+ end of the search.
+
+2008-09-08 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+ * crx/crx.h (IRA_COVER_CLASSES): Define.
+
2008-09-08 Jakub Jelinek <jakub@redhat.com>
PR middle-end/37337
2008-09-07 Helge Deller <deller@gmx.de>
- * pa/linux-atomic.c: New file.
+ * pa/linux-atomic.c: New file.
* pa/t-linux (LIB2FUNCS_STATIC_EXTRA): Define.
* pa/t-linux64 (LIB2FUNCS_STATIC_EXTRA): Define.
2008-09-07 Richard Guenther <rguenther@suse.de>
- Ira Rosen <irar@il.ibm.com>
+ Ira Rosen <irar@il.ibm.com>
PR tree-optimization/36630
* tree-vect-transform.c (vect_update_ivs_after_vectorizer):
Call STRIP_NOPS before calling evolution_part_in_loop_num.
2008-09-07 Dorit Nuzman <dorit@il.ibm.com>
- Ira Rosen <irar@il.ibm.com>
+ Ira Rosen <irar@il.ibm.com>
PR tree-optimization/35642
* config/rs6000/altivec.md (mulv8hi3): Implement.
2008-09-06 Jeff Law <law@redhat.com>
- * h8300.h (IRA_COVER_CLASSES): Define.
+ * h8300/h8300.h (IRA_COVER_CLASSES): Define.
2008-09-06 Jan Hubicka <jh@suse.cz>