From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23090 invoked by alias); 14 Aug 2004 20:20:29 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 23081 invoked by uid 48); 14 Aug 2004 20:20:28 -0000 Date: Sat, 14 Aug 2004 20:20:00 -0000 From: "deji_aking at yahoo dot ca" To: gcc-bugs@gcc.gnu.org Message-ID: <20040814202025.17031.deji_aking@yahoo.ca> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/17031] New: Unclassifiable statement error with a pointer declaration X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01388.txt.bz2 List-Id: 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