[Bug fortran/90985] New: Wrong error message with variables named "DATA*"
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Mon Jun 24 18:49:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90985
Bug ID: 90985
Summary: Wrong error message with variables named "DATA*"
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: dominiq at lps dot ens.fr
Target Milestone: ---
Compiling the following code
module mymod
type :: mytyp
integer :: i
end type mytyp
contains
subroutine mysub
implicit none
type(mytyp) :: a
integer :: datai,dataj
datai = a%i
dataj = a%j
end subroutine mysub
end module mymod
with revision r272613 gives
11 | dataj = a%j
| 1
Error: Syntax error in DATA statement at (1)
More information about the Gcc-bugs
mailing list