1. 24 Nov, 2006 13 commits
  2. 23 Nov, 2006 15 commits
    • * gfortran.dg/overload_1.f90: New test. · 83647bf4
      From-SVN: r119135
      Tobias Schlüter committed
    • Add PR marker for libstdc++/29920 · 3a2a61a2
      From-SVN: r119133
      Joern Rennecke committed
    • real.h (real_isinteger): Declare. · 313f234b
      2006-11-23  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	* real.h (real_isinteger): Declare.
      	* real.c (real_isinteger): Define.
      	* builtins.c (integer_valued_real_p): Use it.
      
      From-SVN: r119130
      Manuel López-Ibáñez committed
    • re PR c/9072 (-Wconversion should be split into two distinct flags) · 05170031
      2006-11-23  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR c/9072 
      	* c.opt (Wtraditional-conversion): New.
      	(Wconversion): Update description.
      	* c-typeck.c (convert_arguments): Warnings for prototypes causing
      	type conversions different from what would happen in the absence
      	of prototype are now handled by Wtraditional-conversion.
      	* doc/invoke.texi (Wtraditional-conversion): New.
      	(Wconversion): Update description.
      	* doc/trouble.texi (Wconversion): Replace Wconversion by
      	Wtraditional-conversion.
      
      testsuite/
      
      	PR c/9072 
      	* gcc.dg/builtin-protos-1.c: Replace Wconversion by
      	Wtraditional-conversion.
      	* gcc.dg/overflow-warn-2.c: Likewise.
      	* gcc.dg/Wconversion.c: Likewise. Renamed as
      	Wtraditional-conversion.c .
      	* gcc.dg/Wconversion-2.c: Likewise. Renamed as
      	Wtraditional-conversion-2.c .
      	* gcc.dg/dfp/Wconversion-2.c: Likewise. Renamed as
      	Wtraditional-conversion-2.c 
      	* gcc.dg/Wconversion-negative-constants.c: New.
      
      From-SVN: r119129
      Manuel López-Ibáñez committed
    • predict.c (tree_estimate_probability): Check to make sure current_loops is non… · 61968738
      predict.c (tree_estimate_probability): Check to make sure current_loops is non null before calling flow_loops_dump.
      
      2006-11-23  Andrew Pinski  <pinskia@gmail.com>
      
              * predict.c (tree_estimate_probability): Check to make
              sure current_loops is non null before calling flow_loops_dump.
      2006-11-23  Andrew Pinski  <pinskia@gmail.com>
      
              * gcc.dg/tree-ssa/dump-1.c: New test.
      
      From-SVN: r119128
      Andrew Pinski committed
    • var-tracking.c (emit_note_insn_var_location): Revert previous patch. · b33614ee
      	* var-tracking.c (emit_note_insn_var_location): Revert previous patch.
      
      From-SVN: r119127
      Bernd Schmidt committed
    • MAINTAINERS (Write After Approval): Add myself. · 3a971f15
      2006-11-23  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
              * MAINTAINERS (Write After Approval): Add myself.
      
      From-SVN: r119126
      Manuel López-Ibáñez committed
    • mips.h (ISA_HAS_FP4): Add MIPS32R2 + 64bit fpu combination. · 6f428062
      gcc:
      	* config/mips/mips.h (ISA_HAS_FP4): Add MIPS32R2 + 64bit fpu
      	combination.
      	(ISA_HAS_MXHC1): True if ISA supports mfhc1 and mthc1 opcodes.
      	(ASM_SPEC): Pass along -mfp32 and -mfp64.
      	* config/mips/mips.c (mips_split_64bit_move): Use gen_mthc1 to set
      	high part of FP register when in 64-bit FP register mode.  Similarly
      	use gen_mfhc1 to load high part of FP register.
      	(override_options): Allow -mgp32 and -mfp64 combination if
      	ISA_HAS_MXHC1 (currently for O32 only).
      	(mips_cannot_change_mode_class): If floating-point registers are
      	bigger than word size. disallow conversion of float register from a
      	large integer mode to a float mode smaller than the float register
      	size.
      	(mips_class_max_nregs): Handle float registers case seperately.
      	* config/mips/mips.md (define_constants): Add UNSPEC_MFHC1,
      	UNSPEC_MTHC1.
      	(movdi_32bit): Use !TARGET_FLOAT64 in condition pattern.
      	(movdf_hardfloat_32bit): Similarly.
      	(movdi_gp32_fp64): New DImode pattern for MIPS32R2 which optionally
      	support a full 64-bit fpu.
      	(mthc1): New pattern to generate MTHC1 instruction.
      	(mfhc1): New pattern to generate MFHC1 instruction.
      	* doc/invoke.texi (MIPS Options): Document the -mgp32 -mfp64
      	option for the MIPS32R2 and mention its use under O32 ABI.
      
      gcc/testsuite:
      	* gcc.target/mips/mips.exp (dg-mips-options): Handle parsing of
      	-mfp64, allowable when ISA >= 33 and float is enabled.
      	* gcc.target/mips/mips32r2-mxhc1.c: New test for checking the use
      	of mthc1 and mfhc1 patterns.
      
      From-SVN: r119124
      David Ung committed
    • var-tracking.c (emit_note_insn_var_location): Take care not to cause verify_flow_info failures. · 49bcb416
      	* var-tracking.c (emit_note_insn_var_location): Take care not to
      	cause verify_flow_info failures.
      
      From-SVN: r119116
      Bernd Schmidt committed
    • tree-ssa-structalias.c: Remove edge weights in favor of just processing them as… · 57250223
      tree-ssa-structalias.c: Remove edge weights in favor of just processing them as complex constraints.
      
      2006-11-22  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-ssa-structalias.c: Remove edge weights in favor of just
      	processing them as complex constraints.
      	(struct constraint_graph): Remove weighted succs and preds. Rename
      	nonweighted succs and preds.
      	(constraint_edge): Removed.
      	(constraint_edge_t): Ditto.
      	(constraint_edge_pool): Ditto.
      	(new_constraint_edge): Ditto.
      	(constraint_edge_equal): Ditto.
      	(constraint_edge_less): Ditto.
      	(constraint_edge_vec_find): Ditto.
      	(erase_self_graph_edge): Ditto.
      	(add_graph_edge): Removed.
      	(get_graph_weights): Ditto.
      	(allocate_graph_weights): Ditto.	(
      	(valid_weighted_graph_edge): Ditto
      	(bitmap_other_than_zero_bit_set): Ditto.
      	(int_add_graph_edge): Renamed to add_graph_edge.
      	(clear_edges_for_node): Remove support for weighted edges.
      	(merge_graph_nodes): Ditto.
      	(valid_graph_edge): Ditto.
      	(build_constraint_graph): Ditto.
      	(scc_visit): Ditto.
      	(collapse_nodes): Ditto.
      	(process_unification_queue): Ditto.
      	(topo_visit): Ditto.
      	(do_ds_constraint): Ditto.
      	(perform_var_subsitution): Ditto.
      	(solve_graph): Ditto.
      	(init_alias_vars): Ditto.
      	(delete_points_to_sets): Ditto.
      	(do_complex_constraint): Support offsetted copies here.
      
      From-SVN: r119114
      Daniel Berlin committed
    • Revert accidental commit (patch coming for this :P) · f71ef09d
      From-SVN: r119113
      Daniel Berlin committed
    • Remove weighted edges from the graph · 78ab22b9
      From-SVN: r119112
      Daniel Berlin committed
    • spu_intrinsics.h (SPU_RdEventStatMask): Rename to SPU_RdEventMask. · dc6ba965
      	* config/spu/spu_intrinsics.h (SPU_RdEventStatMask): Rename to
      	SPU_RdEventMask.
      	* config/spu/spu_mfcio.h (spu_read_event_mask): Update.
      
      From-SVN: r119111
      Ben Elliston committed
    • spu_mfcio.h (struct mfc_list_element): Change width of size bitfield. · a991f101
      	* config/spu/spu_mfcio.h (struct mfc_list_element): Change width
      	of size bitfield.
      
      From-SVN: r119110
      Ben Elliston committed
    • Daily bump. · 617b6ec0
      From-SVN: r119108
      GCC Administrator committed
  3. 22 Nov, 2006 12 commits
    • * config/spu/spu-elf.h (LIB_SPEC): Do not link with -lc_p. · 6db20516
      From-SVN: r119103
      Ben Elliston committed
    • re PR tree-optimization/29921 (internal compiler error: in set_lattice_value, at… · 0446c9f3
      re PR tree-optimization/29921 (internal compiler error: in set_lattice_value, at tree-ssa-ccp.c:437)
      
      	PR tree-optimization/29921
      	* fold-const.c (operand_equal_p): Without HONOR_SIGNED_ZEROS, consider
      	signed and unsigned zero equal.
      
      	* gcc.dg/pr29921.c: New test.
      
      From-SVN: r119102
      Zdenek Dvorak committed
    • re PR fortran/29441 ([4.1/4.2 only] non-constant parameter (constant) accepted) · cbad2281
      fortran/
              PR fortran/29441
              * intrinsic.c (gfc_intrinsic_func_interface): Always check if
              intrinsic is allowed in initialization expression.
      testsuite/
              PR fortran/29441
              * gfortran.dg/initialization_4.f90: New test.
      
      From-SVN: r119101
      Tobias Schlüter committed
    • rs6000.c (get_store_dest): New. · e3a0e200
      	* config/rs6000/rs6000.c (get_store_dest): New.
      	(adjacent_mem_locations): Use get_store_dest() to get
      	the rtl of the store destination.
      
      From-SVN: r119099
      Peter Bergner committed
    • spe.md (SPE64): New mode macro. · 61c76239
      	* config/rs6000/spe.md (SPE64): New mode macro.
      	(mov_sidf_e500_subreg0): Change to mov_si<mode>_e500_subreg0.  Add
      	memory load.
      	(mov_si<mode>_e500_subreg0_2): New.
      	(mov_sidf_e500_subreg4): Change to mov_si<mode>_e500_subreg4.  Add
      	memory load.
      	(mov_si<mode>_e500_subreg4_2): New.
      	* config/rs6000/predicates.md (input_operand): Do not allow
      	invalid E500 subregs.
      	(rs6000_nonimmediate_operand): Check for invalid E500 subregs also
      	if TARGET_SPE.
      	* config/rs6000/rs6000.c (invalid_e500_subreg): Check for subregs
      	involving DFmode if TARGET_E500_DOUBLE.  Check for subregs
      	involving vector modes if TARGET_SPE.
      
      From-SVN: r119094
      Joseph Myers committed
    • revert: reorg.c (emit_delay_sequence): Copy the delay slot insn. · 7c21975d
      	Revert
      	2006-11-12  Kaz Kojima  <kkojima@gcc.gnu.org>
      	* reorg.c (emit_delay_sequence): Copy the delay slot insn.
      
      From-SVN: r119093
      Kaz Kojima committed
    • Update e-mail address in MAINTAINERS · 431041ea
      From-SVN: r119092
      Philipp Thomas committed
    • Makefile.am (stamp-host): Remove CCODECVT_H line. · 302ece50
      2006-11-22  Antony King <anthony.king@st.com>
                  J"orn Rennecke <joern.rennecke@st.com>
      
      	* include/Makefile.am (stamp-host): Remove CCODECVT_H line.
      	* include/Makefile.in: Regenerate.
      
      Co-Authored-By: J"orn Rennecke <joern.rennecke@st.com>
      
      From-SVN: r119091
      Antony King committed
    • predicates.md (d_register_operand, [...]): New predicates. · 36662eb1
      	* config/bfin/predicates.md (d_register_operand, mem_p_address_operand,
      	mem_i_address_operand): New predicates.
      	* config/bfin/bfin.c (bfin_issue_rate): New function.
      	(TARGET_SCHED_ISSUE_RATE): New macro.
      	* config/bfin/bfin.md (addrtype): New attribute.
      	(slot0, slot1, slot2, store, pregs): New cpu_units.
      	(core): Now a define_reservation.
      	(alu): Remove some insn types from this reservation.
      	(dsp32, load32, loadp, loadi, store32, storep, storei, multi): New
      	insn reservations.
      	(dummy reservation): Don't trigger for mcld insns.
      	(absence_sets): Two new absence sets to enforce slot ordering.
      	(popsi_insn): Set addrtype.
      
      From-SVN: r119090
      Bernd Schmidt committed
    • c-tree.texi: Document new tree codes. · 98b44b0e
              * doc/c-tree.texi: Document new tree codes.
              * doc/md.texi: Document new optabs.
              * tree-pretty-print.c (dump_generic_node): Handle print of new tree
              codes.
              * optabs.c (optab_for_tree_code, init_optabs): Handle new optabs.
              * optabs.h (optab_index): Add new.
              (vec_extract_even_optab, vec_extract_odd_optab,
              vec_interleave_high_optab, vec_interleave_low_optab): New optabs.
              * genopinit.c (vec_extract_even_optab, vec_extract_odd_optab,
              vec_interleave_high_optab, vec_interleave_low_optab): Initialize
              new optabs.
              * expr.c (expand_expr_real_1): Add implementation for new tree codes.
              * tree-vectorizer.c (new_stmt_vec_info): Initialize new fields.
              * tree-vectorizer.h (stmt_vec_info): Add new fields for interleaving
              along with macros for their access.
              * tree-data-ref.h (first_location_in_loop, data_reference): Update
              comment.
              * tree-vect-analyze.c (toplev.h): Include.
              (vect_determine_vectorization_factor): Fix indentation.
              (vect_insert_into_interleaving_chain,
              vect_update_interleaving_chain, vect_equal_offsets): New functions.
              (vect_analyze_data_ref_dependence): Add argument for interleaving
              check. Check for interleaving if it's true.
              (vect_check_dependences): New function.
              (vect_analyze_data_ref_dependences): Call vect_check_dependences for
              every ddr. Call vect_analyze_data_ref_dependence with new argument.
              (vect_update_misalignment_for_peel): Update for interleaving.
              (vect_verify_datarefs_alignment): Check only first data-ref for
              interleaving.
              (vect_enhance_data_refs_alignment): Update for interleaving. Check
              only first data-ref for interleaving.
              (vect_analyze_data_ref_access): Check interleaving, update
              interleaving data.
              (vect_analyze_data_refs): Call compute_data_dependences_for_loop
              with different parameters.
              * tree.def (VEC_EXTRACT_EVEN_EXPR, VEC_EXTRACT_ODD_EXPR,
              VEC_INTERLEAVE_HIGH_EXPR, VEC_INTERLEAVE_LOW_EXPR): New tree codes.
              * tree-inline.c (estimate_num_insns_1): Add cases for new codes.
              * tree-vect-transform.c (vect_create_addr_base_for_vector_ref):
              Update step in case of interleaving.
              (vect_strided_store_supported, vect_permute_store_chain): New
              functions.
              (vectorizable_store): Handle strided stores.
              (vect_strided_load_supported, vect_permute_load_chain,
              vect_transform_strided_load): New functions.
              (vectorizable_load): Handle strided loads.
              (vect_transform_stmt): Add argument. Handle strided stores. Check
              that vectorized stmt exists for patterns.
              (vect_gen_niters_for_prolog_loop): Update calculation for
              interleaving.
              (vect_transform_loop): Remove stmt_vec_info for strided stores after
              whole chain vectorization.
              * config/rs6000/altivec.md (UNSPEC_EXTEVEN, UNSPEC_EXTODD,
              UNSPEC_INTERHI, UNSPEC_INTERLO): New constants.
              (vpkuhum_nomode, vpkuwum_nomode, vec_extract_even<mode>,
              vec_extract_odd<mode>, altivec_vmrghsf, altivec_vmrglsf,
              vec_interleave_high<mode>, vec_interleave_low<mode>): Implement.
      
      From-SVN: r119088
      Ira Rosen committed
    • io.h (unit_flags): Add new flag has_recl. · b0c6db58
      2006-11-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	* io/io.h (unit_flags): Add new flag has_recl.
      	* io.open.c (new_unit): Set flag if RECL= was specified.
      	* io/transfer.c (us_write): If flag set, leave recl as initialized by
      	new_unit.
      
      From-SVN: r119087
      Jerry DeLisle committed
    • Daily bump. · 50bc8a4d
      From-SVN: r119084
      GCC Administrator committed