1. 10 Mar, 2006 5 commits
  2. 09 Mar, 2006 13 commits
    • configure: Rebuilt. · dfd8572b
      	* configure: Rebuilt.
      	* configure.ac (HAVE_CLOCK_GETTIME): Put -lrt in THREADLIBS as
      	well.
      
      From-SVN: r111912
      Tom Tromey committed
    • combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate instead of gen_lowpart. · f243cee6
      	* combine.c (simplify_shift_const_1): Use gen_lowpart_or_truncate
      	instead of gen_lowpart.
      
      From-SVN: r111911
      Adam Nemet committed
    • trans-expr.c (gfc_add_interface_mapping): Copy 'allocatable' attribute from sym to new_sym. · 17029ac2
      fortran/
      2006-03-09  Erik Edelmann  <eedelman@gcc.gnu.org>
      
              * trans-expr.c (gfc_add_interface_mapping): Copy 'allocatable'
              attribute from sym to new_sym.  Call build_fold_indirect_ref()
              for allocatable arguments.
      
      testsuite/
      2006-03-09  Erik Edelmann  <eedelman@gcc.gnu.org>
      
              * gfortran.dg/allocatable_dummy_1.f90: Test for functions returning
              arrays too.
      
      From-SVN: r111910
      Erik Edelmann committed
    • mips-protos.h (mips_output_conditional_branch): Change interface. · a8c1d5f8
      	* config/mips/mips-protos.h (mips_output_conditional_branch): Change
      	interface.
      	(mips_output_order_conditional_branch): Declare.
      	* config/mips/mips.h (MIPS_BRANCH): New macro.
      	* config/mips/mips.c (gen_conditional_branch): Use VOIDmode
      	for the comparison.  Use gen_condjump.
      	(mips_output_conditional_branch): Rework interface to take the
      	asm templates for a direct branch and the inverse of a direct branch.
      	(mips_output_order_conditional_branch): New function.
      	(mips_builtin_branch_and_move): New function.
      	(mips_expand_builtin_compare): Use it.  Use VOIDmode for the
      	branch condition.  Use gen_single_cc as the condition for
      	__builtin_mips_upper_* or __builtin_mips_lower_*.
      	(mips_expand_builtin_bposge): Use mips_builtin_branch_and_move.
      	Use VOIDmode for the branch condition.
      	* config/mips/predicates.md (order_operator): New predicate.
      	* config/mips/mips.md (UNSPEC_SINGLE_CC): New constant.
      	(branch_fp): Rename to...
      	(*branch_fp): ...this.  Remove mode from comparison operator.
      	Use new mips_output_conditional_branch interface.
      	(branch_fp_inverted): Rename to...
      	(*branch_fp_inverted): ...this and update as for *branch_fp.
      	(*branch_zero<mode>): Rename to...
      	(*branch_order<mode>): ...this.  Remove mode from comparison operator.
      	Use mips_output_order_conditional_branch.  Only accept ordered
      	comparisons.  
      	(*branch_zero<mode>_inverted): Rename to...
      	(*branch_order<mode>_inverted): ...this and update as for
      	*branch_order<mode>.
      	(*branch_equality<mode>): Accept zero as the second operand to
      	the equality operator.  Use the new mips_output_conditional_branch
      	interface.
      	(*branch_equality<mode>_inverted): Likewise.
      	(condjump): New expander.
      	* config/mips/mips-dsp.md (mips_bposge): Remove mode from comparison
      	operator.
      	* config/mips/mips-ps-3d.md (bc1any4t, bc1any4f): Likewise.
      	(bc1any2t, bc1any2f): Likewise.
      	(single_cc): New expander.
      	(*branch_upper_lower, *branch_upper_lower_inverted): New patterns.
      
      From-SVN: r111909
      Richard Sandiford committed
    • re PR libgcj/24461 (array access in either GZIPInputStream, Inflater, natInflate.cc, or zlib) · 1fea4e6c
      	PR libgcj/24461:
      	* java/util/zip/InflaterInputStream.java (fill): Throw exception
      	if stream is truncated.
      
      From-SVN: r111870
      Tom Tromey committed
    • win32.cc (_Jv_platform_nanotime): New function. · e59a1e40
      	* win32.cc (_Jv_platform_nanotime): New function.
      	* include/win32.h (_Jv_platform_nanotime): Declare.
      	* posix.cc (_Jv_platform_nanotime): New function.
      	* include/posix.h (_Jv_platform_nanotime): Declare.
      	* java/lang/natSystem.cc (nanoTime): New method.
      	* java/lang/System.java (nanoTime): Declare.
      	* include/config.h.in, configure: Rebuilt.
      	* configure.ac: Check for clock_gettime.
      
      From-SVN: r111869
      Tom Tromey committed
    • md.texi: Update documentation of MIPS constraints. · cbbb5b6d
      	* doc/md.texi: Update documentation of MIPS constraints.
      	* config/mips/constraints.md: New file.
      	* config/mips/mips.md: Include it.
      	* config/mips/mips.c (mips_char_to_class): Delete.
      	(override_options): Don't initialize mips_char_to_class.
      	* config/mips/mips.h (mips_char_to_class): Delete.
      	(REG_CLASS_FROM_LETTER): Delete.
      	(CONST_OK_FOR_LETTER_P): Delete.
      	(CONST_DOUBLE_OK_FOR_LETTER_P): Delete.
      	(EXTRA_CONSTRAINT_Y): Delete.
      	(EXTRA_CONSTRAINT_STR): Delete.
      	(CONSTRAINT_LEN): Delete.
      	(EXTRA_MEMORY_CONSTRAINT): Delete.
      
      From-SVN: r111868
      Richard Sandiford committed
    • Merge C++ from gomp-20050608-branch. · 1799e5d5
      From-SVN: r111867
      Richard Henderson committed
    • fold-const.c (build_range_check): Make sure to use a valid type to apply the… · f8fe0545
      fold-const.c (build_range_check): Make sure to use a valid type to apply the "(c>=low) && (c<=high) into...
      
      	* fold-const.c (build_range_check): Make sure to use a valid type to
      	apply the "(c>=low) && (c<=high) into (c-low>=0) && (c-low<=high-low)"
      	transformation.
      
      	(range_predecessor): New static function.
      	(range_successor): Likewise.
      	(merge_ranges): Use them to compute predecessors and successors of
      	range bounds.
      
      From-SVN: r111866
      Eric Botcazou committed
    • re PR middle-end/26561 (ACATS failures c34004a, c46033a and cxg2024 at -O0) · d56ee62b
      2006-03-09  Roger Sayle  <roger@eyesopen.com>
      	    Eric Botcazou  <ebotcazou@libertysurf.fr>
      
      	PR middle-end/26561
      	* fold-const.c (fold_div_compare): When optimizing X/C1 op C2 as
      	X op C3, consider whether C3 overflows towards +Inf or -Inf.
      
      	* gcc.c-torture/execute/divcmp-5.c: New test case.
      
      
      Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>
      
      From-SVN: r111862
      Roger Sayle committed
    • re PR fortran/26257 (internal compiler error: Segmentation fault, on function… · ad5dd90d
      re PR fortran/26257 (internal compiler error: Segmentation fault, on function call with assumed shape array parameter)
      
      2006-03-09 Paul Thomas <pault@gcc.gnu.org>
      
      	PR fortran/26257
      	* trans-array.c (gfc_conv_expr_descriptor): Exclude calculation of
      	the offset and data when se->data_not_needed is set.
      	* trans.h: Include the data_not_need bit in gfc_se.
      	* trans-intrinsic.c (gfc_conv_intrinsic_size): Set it for SIZE.
      
      2006-03-09 Paul Thomas <pault@gcc.gnu.org>
      
      	* PR fortran/26257
      	gfortran.dg/auto_char_len_3.f90: New test
      
      From-SVN: r111860
      Paul Thomas committed
    • addsub.md (addqi3): Disparage a0/a1. · 07127a0a
      * config/m32c/addsub.md (addqi3): Disparage a0/a1.
      (addpsi3): Expand to include memory operands.  Remove
      reload-specific splits.
      * config/m32c/bitops.md (bset_qi, bset_hi, bclr_qi): New.
      (andqi3_16, andhi3_16, iorqi3_16, iorhi3_16): New.
      (andqi3_24, andhi3_24, iorqi3_24, iorhi3_24): New.
      (andqi3, andhi3, iorqi3, iorhi3): Convert to expanders.
      (shift1_qi, shift1_hi, insv): New.
      * config/m32c/cond.md (cbranchqi4, cbranchhi4): Remove.
      (cbranch<mode>4, stzx_16, stzx_24_<mode>, stzx_reversed,
      cmp<mode>, b<code>, s<code>, s<code>_24, movqicc, movhicc,
      cond_to_int): New.
      * config/m32c/m32c-protos.h: Update as needed.
      * config/m32c/m32c.c (m32c_reg_class_from_constraint): Don't
      default the Rcr, Rcl, Raw, and Ral constraints.  Add Ra0 and Ra1.
      Fail for unrecognized R* constraints.
      (m32c_cannot_change_mode_class): Be more picky about pseudos.
      (m32c_const_ok_for_constraint_p): Add Imb, Imw, and I00.
      (m32c_extra_constraint_p2): Allow (mem (plus (plus fb int) int)).
      Add Sp constraint.
      (m32c_init_libfuncs): New.
      (m32c_legitimate_address_p): Add debug wrapper.
      (m32c_rtx_costs): New.
      (m32c_address_cost): New.
      (conversions): Add 'B' prefix.
      (m32c_print_operand): 'h' and 'H' pick lower and upper halves of
      operands, or word regnames for QI operands.  'B' prints bit
      position.
      (m32c_expand_setmemhi): New.
      (m32c_expand_movmemhi): New.
      (m32c_expand_movstr): New.
      (m32c_expand_cmpstr): New.
      (m32c_prepare_shift): Shift counts are limited to 16 bits at a time.
      (m32c_expand_neg_mulpsi3): Handle non-ints.
      (m32c_cmp_flg_0): New.
      (m32c_expand_movcc): New.
      (m32c_expand_insv): New.
      (m32c_scc_pattern): New.
      * config/m32c/m32c.h (reg classes): Add AO_REGS and A1_REGS.  Take
      a0/a1 out of SIregs.
      (STORE_FLAG_VALUE): New.
      * config/m32c/m32c.md: Add unspecs for string moves.  Define various mode and
      code macros.
      (no_insn): New.
      * config/m32c/mov.md: Make constraints more liberal.
      (zero_extendqihi2): Optimize r0/r1 case.
      * config/m32c/muldiv.md (mulpsi3): Check for intvals.
      * config/m32c/predicates.md (m32c_any_operand): New.
      (m32c_nonimmediate_operand): New.
      (m32c_hl_operand): New.
      (m32c_r3_operand): New.
      (ap_operand): New.
      (ma_operand): New.
      (memsym_operand): New.
      (memimmed_operand): New.
      (a_qi_operand): New.
      (m32c_eqne_operator): New.
      (m32c_1bit8_operand): New.
      (m32c_1bit16_operand): New.
      (m32c_1mask8_operand): New.
      (m32c_1mask16_operand): New.
      * config/m32c/blkmov.md: New file.
      * config/m32c/t-m32c (MD_FILES): Add blkmov.
      
      From-SVN: r111859
      DJ Delorie committed
    • Daily bump. · 8b3a0b71
      From-SVN: r111855
      GCC Administrator committed
  3. 08 Mar, 2006 13 commits
  4. 07 Mar, 2006 9 commits