+2007-07-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * config/pa/fptr.c: Update license header.
+ * config/pa/milli64.S: Likewise.
+
+2007-07-17 Nick Clifton <nickc@redhat.com>
+
+ * COPYING_v3: New file. Contains version 3 of the GNU General
+ Public License.
+ * COPYING.LIB_v3: New file. Contains version 3 of the GNU
+ Lesser General Public License.
+ * doc/include/gpl_v3.texi: New file. Contains version 3 of
+ the GNU General Public License.
+
+2007-07-17 Zdenek Dvorak <dvorakz@suse.cz>
+
+ PR rtl-optimization/32773
+ * cfglayout.c (force_one_exit_fallthru): New function.
+ (cfg_layout_finalize): Use it.
+
+2007-07-16 Richard Guenther <rguenther@suse.de>
+ Uros Bizjak <ubizjak@gmail.com>
+
+ * tree-if-conv.c (find_phi_replacement_condition): Unshare "*cond"
+ before forcing it to gimple operand.
+
+2007-07-16 Sandra Loosemore <sandra@codesourcery.com>
+ David Ung <davidu@mips.com>
+
+ * config/mips/mips.h (TUNE_24K): Define.
+ (TUNE_MACC_CHAINS): Add TUNE_24K.
+ * config/mips/mips.md: (*mul_acc_si, *mul_sub_si): Change type to
+ imadd.
+ * config/mips/74k.md (r74k_int_mult): Split madd/msub to ..
+ (r74k_int_madd): .. this new reservation.
+ (define_bypass): Fixed bypasses for r74k_int_madd to use
+ mips_linked_madd_p.
+ * config/mips/24k.md (define_bypass): Define new
+ r24k_int_mul3->r24k_int_madd bypass using mips_linked_madd_p.
+
+2007-07-16 Sandra Loosemore <sandra@codesourcery.com>
+ Nigel Stephens <nigel@mips.com>
+
+ * config/mips/mips.md: Include 20kc.md.
+ * config/mips/20kc.md: New file.
+ * config/mips/mips.c (mips_rtx_cost_data): Fill in 20Kc costs.
+ (mips_adjust_cost): Tweak for 20Kc.
+ (mips_issue_rate): Likewise.
+ * config/mips/mips.h (TUNE_20KC): Define.
+
+2007-07-16 David Edelsohn <edelsohn@gnu.og>
+
+ * config/rs6000/rs6000.c (struct processor_cost): Add
+ cache_line_size, l1_cache_lines, and simultaneous_prefetches
+ fields.
+ (*_cost): Add cache information.
+ (rs6000_override_options): Set cache parameters.
+
+2007-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ PR bootstrap/3456
+ * config.gcc (mips-sgi-irix[56]*): Enable pthread support.
+ * doc/install.texi (mips-sgi-irix6): pthread support works now.
+
+2007-07-16 Paul Brook <paul@codesourcery.com>
+
+ PR target/32753
+ gcc/
+ * config/arm/cirrus.md (cirrus_arm_movsi_insn): Remove dead insn.
+ (cirrus_thumb2_movsi_insn): Ditto.
+
+2007-07-15 Geoffrey Keating <geoffk@apple.com>
+
+ * config/rs6000/darwin-fallback.c (interpret_libc): Change
+ CR2_REGNO to R_CR2.
+
+2007-07-15 Andrew Haley <aph@redhat.com>
+
+ * unwind-sjlj.c (_Unwind_GetIPInfo): Check for context->fc != NULL
+ before looking in the context.
+
+2007-07-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR middle-end/32398
+ PR middle-end/32769
+ * pa-protos.h (pa_eh_return_handler_rtx): Declare.
+ * pa.c (pa_extra_live_on_entry, rp_saved): Declare.
+ (TARGET_EXTRA_LIVE_ON_ENTRY): Define.
+ (pa_output_function_prologue): Use rp_saved and current_function_is_leaf
+ to generate .CALLINFO statement.
+ (hppa_expand_prologue): Set rp_saved.
+ (hppa_expand_epilogue): Use rp_saved.
+ (pa_extra_live_on_entry, pa_eh_return_handler_rtx): New functions.
+ * pa.h (EH_RETURN_HANDLER_RTX): Use pa_eh_return_handler_rtx.
+
+2007-07-14 Dirk Mueller <dmueller@suse.de>
+
+ * omega.c (coalesce): Fix memory leak on early exit.
+ * matrix-reorg.c (check_allocation_function): Likewise.
+ * tree-vect-transform.c (vect_get_new_vect_var): free result
+ of concat().
+ * bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges):
+ pass pointer to edge vector
+ (partition_hot_cold_basic_blocks): Fix memory leak.
+ * collect2.c (prefix_from_string): Free temporary storage.
+ * reload1.c (fixup_abnormal_edges): Free sbitmap.
+
+2007-07-14 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ * config/sh/sh.h (DO_GLOBAL_CTORS_BODY): Add void to prototype.
+ (DO_GLOBAL_DTORS_BODY): Likewise.
+
+2007-07-14 Sandra Loosemore <sandra@codesourcery.com>
+ Nigel Stephens <nigel@mips.com>
+
+ * config/mips/mips.c (mips_classify_symbol): Don't return
+ SYMBOL_SMALL_DATA for constant pool addresses if
+ TARGET_EMBEDDED_DATA is true.
+
+2007-07-14 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386.c (init_mmx_sse_builtins): Define all builtins
+ except __builtin_ia32_emms, __builtin_ia32_ldmxcsr,
+ __builtin_ia32_stmxcsr, __builtin_ia32_maskmovq, __builtin_ia32_loadups,
+ __builtin_ia32_storeups, __builtin_ia32_loadhps, __builtin_ia32_loadlps,
+ __builtin_ia32_storehps, __builtin_ia32_storelps,
+ __builtin_ia32_movntps, __builtin_ia32_movntq, __builtin_ia32_sfence,
+ __builtin_ia32_femms, __builtin_ia32_maskmovdqu, __builtin_ia32_loadupd,
+ __builtin_ia32_storeupd, __builtin_ia32_loadhpd, __builtin_ia32_loadlpd,
+ __builtin_ia32_movnti, __builtin_ia32_movntpd, __builtin_ia32_movntdq,
+ __builtin_ia32_clflush, __builtin_ia32_lfence, __builtin_ia32_mfence,
+ __builtin_ia32_loaddqu, __builtin_ia32_storedqu, __builtin_ia32_monitor,
+ __builtin_ia32_mwait, __builtin_ia32_lddqu, __builtin_ia32_movntdqa,
+ __builtin_ia32_movntsd and __builtin_ia32_movntss as const builtins
+ using def_builtin_const.
+
+2007-07-14 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR tree-optimization/32705
+ * tree-ssa-sccvn.c (set_ssa_val_to): Accept VN_TOP as value number.
+ (simplify_binary_expression): Use SSA_VAL consistently.
+
+2007-07-13 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/spe.md (SPE_ACC_REGNO): Delete definition.
+ (SPEFSCR_REGNO): Delete definition.
+ * config/rs6000/rs6000.c: LINK_REGISTER_REGNUM -> LR_REGNO.
+ COUNT_REGISTER_REGNUM -> CTR_REGNO.
+ * config/rs6000/rs6000.h: Do not define *_REGNO.
+ LINK_REGISTER_REGNUM -> LR_REGNO.
+ COUNT_REGISTER_REGNUM -> CTR_REGNO.
+ * config/rs6000/predicates.md: LINK_REGISTER_REGNUM -> LR_REGNO.
+ COUNT_REGISTER_REGNUM -> CTR_REGNO.
+ * config/rs6000/linux-unwind.h: Define R_LR, R_CR2, R_VR0,
+ R_VRSAVE, R_VSCR. Use them.
+ * config/rs6000/darwin-fallback.c: Define R_LR, R_CTR, R_CR2,
+ R_XER, R_VR0, R_VRSAVE, R_VSCR, R_SPEFSCR. Use them.
+ * config/rs6000/rs6000.md: Define REGNO constants. Use them.
+ * config/rs6000/aix.h: Define R_LR. Use it.
+
+2007-07-13 Caroline Tice <ctice@apple.com>
+
+ * toplev.c (process_options): Turn flag_var_tracking_uninit off when
+ flag_var_tracking is explicitly turned off (i.e. when variable
+ tracking is not feasible); otherwise, turn flag_var_tracking on when
+ flag_var_tracking_uninit is on.
+ * rtl.def (VAR_LOCATION): Add a new integer subfield to VAR_LOCATION
+ note definitions, to allow recording of initialization status in the
+ notes.
+ * dwarf2out.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit.
+ (add_var_loc_to_decl): Add comparison of NOTE_VAR_LOCATION_STATUS to
+ determine if two note locations are equal.
+ (output_loc_list): Don't output list entries whose start & end labels
+ are the same.
+ (reg_loc_descriptor): Add parameter for initialization status; pass it
+ to other loc descriptor functions.
+ (one_reg_loc_descriptor): Add parameter for initialization status;
+ check its value and add DW_OP_GNU_uninit to returned loc descr if
+ appropriate.
+ (multiple_reg_loc_descriptor): Add parameter for initialization
+ status;
+ pass init status argument to other loc descriptor functions; check
+ value of intialization parameter and add DW_OP_GNU_uninit to returned
+ loc descr if appropriate.
+ (based_loc_descr): Add parameter for initialization status; add new
+ variable for return value; check value of initialization parameter and
+ add DW_OP_GNU_uninit to returned loc descr if appropriate.
+ (concatn_mem_loc_descriptor): Add parameter for initialization status;
+ pass init status argument to other loc descriptor functions; check
+ value of intialization parameter and add DW_OP_GNU_uninit to returned
+ loc descr if appropriate.
+ (mem_loc_descriptor): Likewise.
+ (concat_loc_descriptor): Likewise.
+ (concatn_loc_descriptor): Likewise.
+ (loc_descriptor): Add parameter for initialization status; pass it as
+ argument to other loc descriptor function calls.
+ (loc_descriptor_from_tree_1): Add appropriate initialization status
+ to loc descriptor function calls.
+ (add_location_or_const_value_attribute): Get initialization status
+ from VAR_LOCATION note; add initialization status to loc descriptor
+ function calls.
+ * dwarf2.h (enum dwarf_location_atom): New op, DW_OP_GNU_uninit.
+ * print-rtl.c (print_rtx): When printing a VAR_LOCATION note, if
+ status is uninitialized, add "[uninint]" to output.
+ * common.opt (fvar-tracking-uninit): New option, similar to
+ fvar-tracking, to turn on tracking of uninitialized variables; creates
+ a new global flag, flag_var_tracking_uninit.
+ * rtl.h (NOTE_VAR_LOCATION_STATUS): New macro for accessing new field.
+ (enum var_init_status): New type, for var initialization status field.
+ * var-tracking.c (struct location_chain_def): Two new fields, init,
+ for initialization status, and set_src for the assignment value expr.
+ (unshare_variable): New parameter for initialization status;
+ initialize new init and set_src fields.
+ (var_reg_set): New parameters for initialization status and value;
+ pass them to set_variable_part.
+ (var_mem_set): Likewise.
+ (get_init_value): New function.
+ (var_reg_delete_and_set): New initialization status & value
+ parameters; add call to get_init_value if status is unknown; pass new
+ parameters to clobber_variable_part and var_reg_set.
+ (var_mem_delete_and_set): Likewise.
+ (var_reg_delete): Pass null set_src value to clobber_variable_part.
+ (var_mem_delete): Likewise.
+ (variable_union): Pass status to unshare_variable; initialize new init
+ and set_src fields. If flag_var_tracking_uninit is not set, force
+ status to initialized.
+ (add_stores): Store insn, rather than NEXT_INSN(insn), so it can be
+ used later to get the set_src value.
+ (find_src_status): New function.
+ (find_src_set_src): New function.
+ (compute_bb_dataflow): Pass init status to calls to var_reg_set,
+ var_mem_set, var_reg_delete_and_set and var_mem_delete_and_set; for
+ MO_SET, get set_src value and pass it to var_reg_delete_and_set
+ and var_mem_delete_and_set.
+ (dump_variable): Print out "[uninit]" if appropriate.
+ (set_variable_part): Add new initialization and set_src parameters;
+ pass status to unshare_variable; set node->init and node- >set_src
+ fields and modify slot in hash table appropriately; save the init and
+ set_src values if appropriate and assign to the new node.
+ (clobber_variable_part): New set_src parameter; if two nodes have
+ same variable and same location but different set_src (assignment)
+ values, clobber old node.
+ (delete_variable_part): Pass init status to unshare_variable.
+ (emit_note_insn_var_location): Add initialized var; assign var's init
+ status to new 'initialized'; pass new init status field to calls to
+ gen_rtx_VAR_LOCATION. If flag_var_tracking_uninit is not set, force
+ status to initialized.
+ (emit_notes_in_bb): Pass initialization status to calls to
+ var_reg_set, var_mem_set, var_reg_delete_and_set and
+ var_mem_delete_and_set; for MO_SET, get set_src value and pass it to
+ var_reg_delete_and_set and var_mem_delete_and_set; call
+ emit_notes_for_changes on NEXT_INSN(insn) rather than on insn, to
+ make up for change in add_stores.
+ (vt_add_function_parameters): Add status to calls to
+ set_variable_part.
+ * config/darwin.c (darwin_override_options): Turn on uninitialized
+ tracking automatically, if var_tracking is on and the system is
+ 10.5 or higher.
+
+2007-07-13 Sa Liu <saliu@de.ibm.com>
+
+ * config.gcc: Add options for arch and tune on SPU.
+ * config/spu/predicates.md: Add constant operands 0 and 1.
+ * config/spu/spu-builtins.def: Add builtins for double precision
+ floating point comparison: si_dfceq, si_dfcmeq, si_dfcgt, si_dfcmgt,
+ si_dftsv, spu_cmpeq_13, spu_cmpabseq_1, spu_cmpgt_13, spu_cmpabsgt_1,
+ spu_testsv.
+ * config/spu/spu-c.c: Define __SPU_EDP__ when builtins invoked with
+ a CELLEDP target.
+ * config/spu/spu-protos.h: Add new function prototypes.
+ * config/spu/spu.c (spu_override_options): Check options -march and
+ -mtune.
+ (spu_comp_icode): Add comparison code for DFmode and vector mode.
+ (spu_emit_branch_or_set): Use the new code for DFmode and vector
+ mode comparison.
+ (spu_const_from_int): New. Create a vector constant from 4 ints.
+ (get_vec_cmp_insn): New. Get insn index of vector compare instruction.
+ (spu_emit_vector_compare): New. Emit vector compare.
+ (spu_emit_vector_cond_expr): New. Emit vector conditional expression.
+ * config/spu/spu.h: Add options -march and -mtune. Define processor
+ types PROCESSOR_CELL and PROCESSOR_CELLEDP. Define macro
+ CANONICALIZE_COMPARISON.
+ * config/spu/spu.md: Add new insns for double precision compare
+ and double precision vector compare. Add vcond and smax/smin patterns
+ to enable DFmode vector conditional expression.
+ * config/spu/spu.opt: Add options -march and -mtune.
+ * config/spu/spu_internals.h: Add builtins for CELLEDP target:
+ si_dfceq, si_dfcmeq, si_dfcgt, si_dfcmgt, si_dftsv. Add builtin for
+ both CELL and CELLEDP targets: spu_testsv.
+ * config/spu/spu_intrinsics.h: Add flag mnemonics for test special
+ values.
+
+2007-07-13 Richard Guenther <rguenther@suse.de>
+
+ PR tree-optimization/32721
+ * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Preserve
+ TREE_THIS_VOLATILE on the folded reference.
+ * tree-ssa-operands.c (get_expr_operands): Set has_volatile_ops
+ if the array reference has TREE_THIS_VOLATILE set.
+
+2007-07-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR other/32188
+ * doc/libgcc.texi: Update DFP intrinsics for DPD and BID.
+
+2007-07-13 Andreas Schwab <schwab@suse.de>
+
+ * gengtype-lex.l: Allow declarations to be indented.
+
2007-07-12 Geoffrey Keating <geoffk@apple.com>
* ginclude/tgmath.h: New.