This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, fortran] initialization expressions


On Tue, Jul 17, 2007 at 07:56:25PM +0200, Daniel Franke wrote:
> gcc/fortran:
> 2007-07-17  Daniel Franke  <franke.daniel@gmail.com>
> 
> 	PR fortran/29662
> 	PR fortran/31253
> 	PR fortran/31265
> 	PR fortran/31639
> 	* gfortran.h (gfc_intrinsic_sym): Changed members elemental, pure, generic,
> 	specific, actual_ok, noreturn into bits of a bitfield, added bits for 
> 	inquiry, transformational, conversion.
> 	* check.c (non_init_transformational): Removed, removed all callers.
> 	* intrinsic.c (enum class): New.
> 	(add_sym*): Replaced argument elemetal by enum class. Changed all callers.
> 	(add_functions): Assign appropriate classes to intrinsic functions.
> 	(add_subroutines): Assign appropriate classes to intrinsic subroutines.
> 	(add_conv): Set conversion attribute.
> 	(gfc_init_expr_extensions): Removed, removed all callers.
> 	(gfc_intrinsic_func_interface): Reimplemented check for non-standard
> 	initializatione expressions.
> 	* expr.c (check_specification_function): New.
> 	(gfc_is_constant_expr): Added check for specification functions.
> 	(check_init_expr_arguments): New.
> 	(check_inquiry): Changed return value to MATCH, added checks for inquiry
> 	functions defined by F2003.
> 	(check_transformational): New.
> 	(check_null): New.
> 	(check_elemental): New.
> 	(check_conversion): New.
> 	(check_init_expr): Call new check functions, add more specfic error messages.
> 
> gcc/testsuite:
> 2007-07-17  Daniel Franke  <franke.daniel@gmail.com>
> 
> 	PR fortran/29662
> 	* gfortran.dg/initialization_1.f90: Adjusted messages.
> 	* gfortran.dg/array_initializer_1.f90: Removed warning.
> 	* gfortran.dg/nested_modules_6.f90: Removed warning.
> 
> 	PR fortran/31253
> 	* gfortran.dg/initialization_7.f90: New test.
> 
> 	PR fortran/31639
> 	* gfortran.dg/initialization_8.f90: New test.
> 

OK.

Note, our IRC conversation.  Find the dangling || operators.
There's 3 or 4.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]