[Bug fortran/17031] New: Unclassifiable statement error with a pointer declaration
deji_aking at yahoo dot ca
gcc-bugzilla@gcc.gnu.org
Sat Aug 14 20:20:00 GMT 2004
Not sure this is bug, 'cos IMHO, this kind of declaration is rather archaic;
however it is compiled properly by pgf90 and intel compiler. Here is an example
of such statement;
>>
*
real qswv,qswi,pcpr,qswinv,qswini,ta,coszs,qswd
real alvsbar,alirbar,cdmbar,qsens,qevap
real su,sv,st,sq
pointer (pata, ta(ilg))
pointer (pacoszs,coszs(ilg)), (paqswd,qswd(ilg))
pointer (paqwv , qswv(ilg)), (paqwi, qswi(ilg))
pointer (papcpr , pcpr(ilg))
<<
compiling with gfortran gives;
>>
[deji@rhema deji]$ f95 -c -x f95 class271.f
In file class271.f:1952
pointer (pata, ta(ilg))
1
Error: Unclassifiable statement at (1)
In file class271.f:1953
pointer (pacoszs,coszs(ilg)), (paqswd,qswd(ilg))
1
Error: Unclassifiable statement at (1)
In file class271.f:1954
<<
I've attached a copy of the full code. I'm working on a model that have a bunch
of source codes with similar declaration statements in them.
Thanks.
--
Summary: Unclassifiable statement error with a pointer
declaration
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: deji_aking at yahoo dot ca
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17031
More information about the Gcc-bugs
mailing list