[Bug fortran/15382] New: [gfortran] frontend too lenient when checking variable declarations
Tobias dot Schlueter at physik dot uni-muenchen dot de
gcc-bugzilla@gcc.gnu.org
Wed May 12 14:30:00 GMT 2004
The following should issue an error in the frontend:
SUBROUTINE BARY()
COMMON /A/ X
EQUIVALENCE (X,Y)
REAL :: Y = 1.
DATA X /1./
PRINT *, X, Y
END
currently it fails with a fatal error in the backend:
[tobi@marktplatz tests]$ gfortran com.f90
com.f90: In function `bary':
com.f90:16: fatal error: gfc_todo: Not Implemented: initial values for COMMON or
EQUIVALENCE
compilation terminated.
[tobi@marktplatz tests]$
--
Summary: [gfortran] frontend too lenient when checking variable
declarations
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: Tobias dot Schlueter at physik dot uni-muenchen dot de
ReportedBy: Tobias dot Schlueter at physik dot uni-muenchen dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15382
More information about the Gcc-bugs
mailing list