1. 20 Jun, 2006 4 commits
    • re PR fortran/25049 (TRANSPOSE not allowed in initialisation expression) · a4a11197
      2006-06-20  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/25049
      	PR fortran/25050
      	* check.c (non_init_transformational): New function.
      	(find_substring_ref): New function to signal use of disallowed
      	transformational intrinsic in an initialization expression.
      	(gfc_check_all_any): Call previous if initialization expr.
      	(gfc_check_count): The same.
      	(gfc_check_cshift): The same.
      	(gfc_check_dot_product): The same.
      	(gfc_check_eoshift): The same.
      	(gfc_check_minloc_maxloc): The same.
      	(gfc_check_minval_maxval): The same.
      	(gfc_check_gfc_check_product_sum): The same.
      	(gfc_check_pack): The same.
      	(gfc_check_spread): The same.
      	(gfc_check_transpose): The same.
      	(gfc_check_unpack): The same.
      
      	PR fortran/18769
      	*intrinsic.c (add_functions): Add gfc_simplify_transfer.
      	*intrinsic.h : Add prototype for gfc_simplify_transfer.
      	*simplify.c (gfc_simplify_transfer) : New function to act as
      	placeholder for eventual implementation.  Emit error for now.
      
      	PR fortran/16206
      	* expr.c (find_array_element): Eliminate condition on length of
      	offset. Add bounds checking. Rearrange exit. Return try and
      	put gfc_constructor result as an argument.
      	(find_array_section): New function.
      	(find_substring_ref): New function.
      	(simplify_const_ref): Add calls to previous.
      	(simplify_parameter_variable): Return on NULL expr.
      	(gfc_simplify_expr): Only call gfc_expand_constructor for full
      	arrays.
      
      	PR fortran/20876
      	* match.c (gfc_match_forall): Add missing locus to gfc_code.
      
      2006-06-20  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR libfortran/28005
      	* m4/matmul.m4: aystride = 1 does not uniquely detect the
      	presence of a temporary transpose; an array element in the
      	first dimension produces the same signature.  Detect this
      	using the rank of a and add specific code.
      	* generated/matmul_r4.c: Regenerate.
      	* generated/matmul_r8.c: Regenerate.
      	* generated/matmul_r10.c: Regenerate.
      	* generated/matmul_r16.c: Regenerate.
      	* generated/matmul_c4.c: Regenerate.
      	* generated/matmul_c8.c: Regenerate.
      	* generated/matmul_c10.c: Regenerate.
      	* generated/matmul_c16.c: Regenerate.
      	* generated/matmul_i4.c: Regenerate.
      	* generated/matmul_i8.c: Regenerate.
      	* generated/matmul_i16.c: Regenerate.
      
      2006-06-20  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/16206
      	* gfortran.dg/array_initializer_1.f90: New test.
      
      	PR fortran/28005
      	* gfortran.dg/matmul_3.f90: New test.
      
      From-SVN: r114802
      Paul Thomas committed
    • re PR middle-end/28075 (inliner introduces unnecessary type conversions) · 73dab33b
      2006-06-19  Andrew Pinski  <pinskia@gmail.com>
      
              PR middle-end/28075
              * tree-inline.c (setup_one_parameter): Strip useless
              type conversion before adding it to the IR.
              (declare_return_variable): Likewise.
      
      
      2006-06-19  Andrew Pinski  <pinskia@gmail.com>
      
              PR middle-end/28075
              * gcc.dg/tree-ssa/inline-1.c: New test.
      
      From-SVN: r114801
      Andrew Pinski committed
    • re PR c/27149 (English in warning not grammatical: "the address of x, will always evaluate") · 48e2909e
      
      	PR c/27149
      	* c-common.c (c_common_truthvalue_conversion): Fix grammar in warning.
      
      From-SVN: r114800
      Martin Michlmayr committed
    • Daily bump. · 94ae8784
      From-SVN: r114798
      GCC Administrator committed
  2. 19 Jun, 2006 20 commits
  3. 18 Jun, 2006 8 commits
    • avr.h (avr_have_movw_lpmx_p): Declare. · 4301ec4f
      	* config/avr/avr.h (avr_have_movw_lpmx_p): Declare.
      	(TARGET_CPU_CPP_BUILTINS): Add __AVR_HAVE_MOVW__ and 
      	__AVR_HAVE_LPMX__.
      	(AVR_HAVE_MOVW) Define.
      	(ASSEMBLER_DIALECT): Use AVR_HAVE_MOVW.
      	(ASM_SPEC): Add avr25.
      	(LINK_SPEC): Add avr25.
      	* config/avr/avr.c (avr_have_movw_lpmx_p): Add.
      	(base_arch_s): Add new member 'have_movw_lpmx'.
      	(avr_arch_types): Init 'have_movw_lpmx'.
      	(avr_mcu_types): Add 'avr25'. Move attiny13, attiny2313, attiny24,
      	attiny44, attiny84, attiny25, attiny45, attiny85, attiny261,
      	attiny461, attiny861 and at86rf401 in 'avr25' arhitecture.
      	(avr_override_options): Init 'avr_have_movw_lpmx_p'.
      	(output_movhi, output_movsisf, ashlsi3_out, avr_rtx_costs): Use 
      	AVR_HAVE_MOVW.
      	(avr_file_start): Do not output '.arh' derective.
      	* config/avr/libgcc.S (mov_l): Use __AVR_HAVE_MOVW__.
      	(__do_copy_data): Use __AVR_HAVE_LPMX__.
      	* config/avr/avr.md (mcu_enhanced): Delete.
      	(mcu_have_movw): Define.
      	(negsi2, extendhisi2, zero_extendhisi2): Use 'mcu_have_movw'.
      	(call_insn, call_value_insn): Use 'call_insn' and __AVR_HAVE_MOVW__.
      	* config/avr/t-avr(MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Add avr25.
      	(MULTILIB_MATCHES): Add attiny13, attiny2313, attiny24, attiny44,
      	attiny84, attiny25, attiny45, attiny85, attiny261, attiny461, 
      	attiny861 and at86rf401 devices.
      
      From-SVN: r114758
      Anatoly Sokolov committed
    • re PR fortran/26801 (-fbounds-check generates segfault) · 98efaf34
      	PR fortran/26801
      
      	* trans-intrinsic.c (gfc_conv_associated): Use pre and post blocks
      	of the scalarization expression.
      
      	* gfortran.dg/associated_4.f90: New test.
      
      From-SVN: r114757
      Francois-Xavier Coudert committed
    • bfin.h (REG_CLASS_FROM_LETTER): Rename constraint 'B' to 'v', 'l' to 'u'. · a9c46998
      	* config/bfin/bfin.h (REG_CLASS_FROM_LETTER): Rename constraint 'B'
      	to 'v', 'l' to 'u'.
      	* config/bfin/bfin.md: Change comment accordingly.
      	(define_insn loop_end): Replace 'h' with 'v'.
      	(lsetup_with_autoinit): Replace 'l' with 'u'. 
      	(lsetup_without_autoinit): Ditto.
      	* md.texi: Record this change.
      
      From-SVN: r114756
      Jie Zhang committed
    • bfin.c (MAX_LOOP_LENGTH): Define to be 2042 instead of 4096. · 40327e03
      	* config/bfin/bfin.c (MAX_LOOP_LENGTH): Define to be 2042 instead
      	of 4096.
      
      From-SVN: r114755
      Jie Zhang committed
    • Add PR reference to last ChangeLog entry. · d5b7950a
      From-SVN: r114754
      Jerry DeLisle committed
    • re PR fortran/19310 ([4.1 Only] unnecessary error for overflowing results) · 604f802b
      2006-06-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/19310
      	PR fortran/19904
      	* gfortran.dg/real_const_3.f90: New test.
      
      From-SVN: r114753
      Jerry DeLisle committed
    • re PR fortran/19310 ([4.1 Only] unnecessary error for overflowing results) · 54554825
      2006-06-18  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/19310
      	* arith.c (gfc_range_check): Return ARITH_OK if -fno-range-check. Add
      	return of ARITH_NAN, ARITH_UNDERFLOW, and ARITH_OVERFLOW.
      	(gfc_arith_divide): If -fno-range-check allow mpfr to divide by zero.
      	* gfortran.h (gfc_option_t): Add new flag.
      	* invoke.texi: Document new flag.
      	* lang.opt: Add option -frange-check.
      	* options.c (gfc_init_options): Initialize new flag.
      	(gfc_handle_options): Set flag if invoked.
      	* simplify.c (range_check): Add error messages for
      	overflow, underflow, and other errors.
      	* trans-const.c (gfc_conv_mpfr_to_tree): Build NaN and Inf from mpfr
      	result.
      
      From-SVN: r114752
      Jerry DeLisle committed
    • Daily bump. · 37b4da10
      From-SVN: r114750
      GCC Administrator committed
  4. 17 Jun, 2006 8 commits