This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

ICE with 4.3.2 and Snapshot 4.4-20081226


I'm getting an ICE while compiling an 1800-line fortran source file
with LOTS of included files.  The source also uses several modules.
I'm reluctant to send a bug report until I make sure I'm including the
right things.

>From reading all the directions, I believe I should send:

  1. output of the compile line (with -save-temps and -v added as
compiler flags)

  2. the source file

  3. all the 'include' files

I don't see an *.i file so I guess it isn't produced for a fortran
source file (as stated in the bug reporting directions).

Altogether, the required files to duplicate the error for the one
source file will make quite a bundle.

Update:

The program compiles successfully with version 4.1.2 20070925
distributed with Fedora 7.

I have included the command line output just in case I'm doing
something wrong with the latest versions (notice I'm using "-x
f77-cpp-input" instead of "-cpp").

Update 2:

When I changed to using "-cpp" (instead of "-x f77-cpp-input"), I get
new warnings such as:

  Warning: distrib.f:12: Illegal preprocessor directive

for the line:

  #if defined(NAG) || defined(__G95__) || defined(__GNUC__)

which then leads to compile errors.

Thanks for any advice

-Tom

Tom Browder
Niceville, Florida
USA

Attachment: gfortran-bug-report.txt
Description: Text document


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