[gfortran, PING] Fix function declaration syntax

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Sat Jan 7 16:22:00 GMT 2006


Thanks again for pointing this bug out, Dominique.

Paul Thomas wrote:
>>PING:
>>http://gcc.gnu.org/ml/fortran/2005-12/msg00495.html
>>
>>Too bad I only noticed that the patch had not yet been committed, after I ran
>>svn revert.
> 
> That's because the original message did not look like a submission, nor 
> did it go to the patch queue.
> 
> It's OK to commit, with two remarks:
> 
> (i) Obviously, pr23373-2.f90 must be corrected.

Done.  Along with a number of other testcases, for reference the testsuite
ChangeLog is below.

> (ii) In the longer term we should add a test case that tests all the 
> requirements and constraints of procedure declarations, if such a thing 
> does not already exist.

I suppose/hope this is on Uttam Pawar's list.

- Tobi

2005-01-07  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>

	* gfortran.dg/func_decl_1.f90: New.
	* gfortran.dg/array_alloc_1.f90: Fix wrong function declaration.
	* gfortran.dg/array_alloc_2.f90: Likewise.
	* gfortran.dg/char_result_8.f90: Likewise.
	* gfortran.dg/dup_save_1.f90: Likewise.
	* gfortran.dg/dup_save_2.f90: Likewise.
	* gfortran.dg/f2c_6.f90: Likewise.
	* gfortran.dg/f2c_7.f90: Likewise.
	* gfortran.dg/func_result_2.f90: Likewise.
	* gfortran.fortran-torture/execute/pr23373-2.f90: Likewise.




More information about the Fortran mailing list