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

* [Bug fortran/17031] Unclassifiable statement error with a pointer declaration
  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 ` deji_aking at yahoo dot ca
  2004-08-14 21:18 ` sgk at troutmask dot apl dot washington dot edu
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: deji_aking at yahoo dot ca @ 2004-08-14 20:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From deji_aking at yahoo dot ca  2004-08-14 20:21 -------
Created an attachment (id=6927)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6927&action=view)
full source code


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17031


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

* [Bug fortran/17031] Unclassifiable statement error with a pointer declaration
  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
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: sgk at troutmask dot apl dot washington dot edu @ 2004-08-14 21:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From sgk at troutmask dot apl dot washington dot edu  2004-08-14 21:18 -------
This code make use of the Cray pointer, which is a nonstandard construct.
Cray pointers are #9 on the wishlist of extensions, but I doubt Cray pointers
will be implemented in the near future. http://gcc.gnu.org/fortran/extensions.html

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17031


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

* [Bug fortran/17031] Unclassifiable statement error with a pointer declaration
  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
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: deji_aking at yahoo dot ca @ 2004-08-15  0:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From deji_aking at yahoo dot ca  2004-08-15 00:25 -------
(In reply to comment #2)
> This code make use of the Cray pointer, which is a nonstandard construct.
> Cray pointers are #9 on the wishlist of extensions, but I doubt Cray pointers
> will be implemented in the near future. http://gcc.gnu.org/fortran/extensions.html
That's sad and disappointing that tis will not be implemented (soon), which
means the model will forever continue to rely on the proprietary compiler.
Thanks very much for the explanation and the link.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17031


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

* [Bug fortran/17031] Unclassifiable statement error with a pointer declaration
  2004-08-14 20:20 [Bug fortran/17031] New: Unclassifiable statement error with a pointer declaration deji_aking at yahoo dot ca
                   ` (2 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-15  3:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-15 03:05 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2004-08-15 03:05:01
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17031


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

* [Bug fortran/17031] Cray pointers not supported
  2004-08-14 20:20 [Bug fortran/17031] New: Unclassifiable statement error with a pointer declaration deji_aking at yahoo dot ca
                   ` (3 preceding siblings ...)
  2004-08-15  3:05 ` pinskia at gcc dot gnu dot org
@ 2004-08-19 15:20 ` 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
  6 siblings, 0 replies; 8+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-08-19 15:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tobi at gcc dot gnu dot org  2004-08-19 15:20 -------
Changed summary, to make issue obvious.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Unclassifiable statement    |Cray pointers not supported
                   |error with a pointer        |
                   |declaration                 |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17031


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

* [Bug fortran/17031] Cray pointers not supported
  2004-08-14 20:20 [Bug fortran/17031] New: Unclassifiable statement error with a pointer declaration deji_aking at yahoo dot ca
                   ` (4 preceding siblings ...)
  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
  6 siblings, 0 replies; 8+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2005-05-23 20:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From tkoenig at gcc dot gnu dot org  2005-05-23 20:10 -------
According to a discussion on the fortran mailing
list, some initial work seems to have been done:

http://gcc.gnu.org/ml/fortran/2005-04/msg00071.html

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17031


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

* [Bug fortran/17031] Cray pointers not supported
  2004-08-14 20:20 [Bug fortran/17031] New: Unclassifiable statement error with a pointer declaration deji_aking at yahoo dot ca
                   ` (5 preceding siblings ...)
  2005-05-23 20:55 ` tkoenig at gcc dot gnu dot org
@ 2005-09-29 16:14 ` fxcoudert at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-09-29 16:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-09-29 16:14 -------
We now have a proposed patch for that. It should be commited as soon as
paperwork issues are resolved.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2005-
                   |                            |09/msg00970.html
           Keywords|                            |patch
   Last reconfirmed|2005-09-18 05:12:09         |2005-09-29 16:14:01
               date|                            |


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).