]> git.ipfire.org Git - thirdparty/gcc.git/commit
decl.c (gfc_match_function_decl): Correctly error out in case of omitted function...
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Sat, 7 Jan 2006 16:30:53 +0000 (17:30 +0100)
committerTobias Schlüter <tobi@gcc.gnu.org>
Sat, 7 Jan 2006 16:30:53 +0000 (17:30 +0100)
commit2b9a33aeea3d49f4e7038ecdc9d96b6220593d15
tree0bfc332161d9cd9f0ae0b9ff15ede507bbf790d7
parent5487b6e59724be488a6ec2bc510f43f88602dc7e
decl.c (gfc_match_function_decl): Correctly error out in case of omitted function argument list.

fortran/
* decl.c (gfc_match_function_decl): Correctly error out in case of
omitted function argument list.
testsuite/
* 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.

From-SVN: r109451
13 files changed:
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/array_alloc_1.f90
gcc/testsuite/gfortran.dg/array_alloc_2.f90
gcc/testsuite/gfortran.dg/char_result_8.f90
gcc/testsuite/gfortran.dg/dup_save_1.f90
gcc/testsuite/gfortran.dg/dup_save_2.f90
gcc/testsuite/gfortran.dg/f2c_6.f90
gcc/testsuite/gfortran.dg/f2c_7.f90
gcc/testsuite/gfortran.dg/func_decl_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/func_result_2.f90
gcc/testsuite/gfortran.fortran-torture/execute/pr23373-2.f90