This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: reg. compilation


This is PR1703. Support for cray pointers was added on October 24, 2005. You
will need to use a more recent compiler and the -fcray-pointer option.

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

For example:

ryan@avarice:~$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --enable-languages=fortran --disable-nls
Thread model: posix
gcc version 4.1.0 20051112 (experimental)
ryan@avarice:~$ gfortran pointer.f
 In file pointer.f:2

         pointer (p,v)
                1
Error: Cray pointer declaration at (1) requires -fcray-pointer flag.
ryan@avarice:~$ gfortran -fcray-pointer pointer.f
ryan@avarice:~$

Regards,

Ryan Mansfield

-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of ARC Murthy
Sent: Monday, November 14, 2005 7:23 AM
To: gcc-help@gcc.gnu.org
Subject: reg. compilation

Dear sir

I have small fortran program. This program contains a variable called 
Pointer. This file has been compiled with intel fortran compiler and f77.
It is not compiling with g77 or g95 compiler. Herwith I am attaching a 
small fortran file. Kindly have look into this file and suggest how to 
overcome the pointer variable when compiling with g77 or g95. Any 
compiling options are to be used?

help in this regard is highly appreciable.

A.R.C. Murthy
Scientist
Structural Engineering Research Centre
CSIR Campus
Taramani
Chennai


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]