OSDN Git Service

gcc/fortran:
authordfranke <dfranke@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jul 2007 22:15:11 +0000 (22:15 +0000)
committerdfranke <dfranke@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jul 2007 22:15:11 +0000 (22:15 +0000)
commit12a05fa593f78fe602d0e3f0d00b0911c33f35d3
tree1a94701b6763f367123b5ae42e45e6d07fe681b1
parentc550a00b50405315436cded355cb59717ecf39da
gcc/fortran:
2007-07-12  Daniel Franke  <franke.daniel@gmail.com>

PR fortran/31639
* decl.c (gfc_match_suffix): Removed surplus general error that hides
a more specific message.
* resolve.c (resolve_fl_variable): Reject illegal initializiers only
if not already done.
(resolve_fl_procedure): Added check for initializers of functions.

gcc/testsuite:
2007-07-12  Daniel Franke  <franke.daniel@gmail.com>

PR fortran/31639
* gfortran.dg/func_decl_4.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126605 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/func_decl_4.f90 [new file with mode: 0644]