[Bug fortran/31560] improve error message for using components of later decl. variables in specification expressions

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Fri Nov 6 12:20:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31560

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The error for the test in comment 8 is now (from 4.8 up to trunk 6.0)

pr31560_1.f90:6:29:

   integer, dimension(dataset%maxsiz) :: nobs
                             1
Error: Symbol 'dataset' at (1) has no IMPLICIT type

Is there any hope to emit an error of the kind "used before it is defined"? or
should this PR closed as FIXED?


More information about the Gcc-bugs mailing list