public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/17031] New: Unclassifiable statement error with a pointer declaration
@ 2004-08-14 20:20 deji_aking at yahoo dot ca
  2004-08-14 20:21 ` [Bug fortran/17031] " deji_aking at yahoo dot ca
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: deji_aking at yahoo dot ca @ 2004-08-14 20:20 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-09-29 16:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-14 20:20 [Bug fortran/17031] New: Unclassifiable statement error with a pointer declaration deji_aking at yahoo dot ca
2004-08-14 20:21 ` [Bug fortran/17031] " deji_aking at yahoo dot ca
2004-08-14 21:18 ` sgk at troutmask dot apl dot washington dot edu
2004-08-15  0:26 ` deji_aking at yahoo dot ca
2004-08-15  3:05 ` pinskia at gcc dot gnu dot org
2004-08-19 15:20 ` [Bug fortran/17031] Cray pointers not supported tobi at gcc dot gnu dot org
2005-05-23 20:55 ` tkoenig at gcc dot gnu dot org
2005-09-29 16:14 ` fxcoudert at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).