1. 08 May, 2007 9 commits
  2. 07 May, 2007 25 commits
  3. 06 May, 2007 6 commits
    • Daily bump. · 271d74d4
      From-SVN: r124485
      GCC Administrator committed
    • re PR fortran/31764 (NEW_LINE with array argument) · 22aef73f
      	PR fortran/31764
      
      	* simplify.c (gfc_simplify_new_line): NEW_LINE can be simplified
      	even for non constant arguments.
      
      	* gfortran.dg/new_line.f90: Add new checks.
      
      From-SVN: r124482
      Francois-Xavier Coudert committed
    • re PR fortran/31201 (Too large unit number generates wrong code) · 28fe1c40
      2007-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/31201
      	* gfortran.dg/large_unit_1.f90: New.
      	* gfortran.dg/large_unit_2.f90: New.
      	* gfortran.dg/iostat_4.f90: New
      	* gfortran.dg/bounds_check_fail_1.f90: Updated.
      
      From-SVN: r124481
      Jerry DeLisle committed
    • re PR fortran/31201 (Too large unit number generates wrong code) · f96d606f
      2007-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      	    Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR fortran/31201
      	* gfortran.h: Add runtime error codes from libgfortran.h. Define
      	MAX_UNIT_NUMBER.
      	* trans.c (gfc_trans_runtime_check): Update the format of runtime error
      	messages to match library runtime errors.  Use call to new library
      	function runtime_error_at().
      	* trans.h: Add prototype for new function gfc_trans_io_runtime_check.
      	Add declaration for library functions runtime_error_at and
      	generate_error.
      	* trans_io.c (gfc_trans_io_runtime_check): New function.
      	(set_parameter_value): Add error checking for UNIT numbers.
      	(set_parameter_ref): Initialize the users variable to zero. 
      	(gfc_trans_open): Move setting of unit number to after setting of common
      	flags so that runtime error trapping can be detected.
      	(gfc_trans_close): Likewise. (build_filepos): Likewise.
      	(gfc_trans_inquire): Likewise. (build_dt): Likewise.
      	* trans-decl.c: Add declarations for runtime_error_at and
      	generate_error. (gfc_build_builtin_function_decls): Build function
      	declarations for runtime_error_at and generate_error.
      
      Co-Authored-By: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
      
      From-SVN: r124480
      Jerry DeLisle committed
    • re PR fortran/31201 (Too large unit number generates wrong code) · cb13c288
      2007-05-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libfortran/31201
      	* runtime/error.c (runtime_error_at): New function.
      	(generate_error): Export this function.
      	* gfortran.map: Add _gfortran_generate_error and
      	_gfortran_runtime_error_at.
      	* libgfortran.h: Add comment to reference error codes in front end.
      	(library_start): Locate prototype with library_end macro and add
      	a new comment.  Add prototype for runtime_error_at. Export prototype for
      	generate_error.
      	* io/lock.c (library_start): Fix check for error condition.
      	* io/transfer.c (data_transfer_init): Add library check.
      
      From-SVN: r124479
      Jerry DeLisle committed
    • timevar.c (timevar_print): Test ENABLE_ASSERT_CHECKING instead of ASSERT_CHECKING. · 982533a5
      	* timevar.c (timevar_print): Test ENABLE_ASSERT_CHECKING instead
      	of ASSERT_CHECKING.  Tweak message.
      
      From-SVN: r124478
      Eric Botcazou committed