Bug 16455 - print the location of a missing module fatal error
Summary: print the location of a missing module fatal error
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.0.0
: P2 minor
Target Milestone: 4.0.0
Assignee: Not yet assigned to anyone
URL:
Keywords: diagnostic, patch
Depends on:
Blocks:
 
Reported: 2004-07-09 17:37 UTC by Dan Nicolaescu
Modified: 2004-07-11 14:50 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2004-07-09 17:40:58


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Nicolaescu 2004-07-09 17:37:11 UTC
$ cat test.f90
USE NONEXISTENT
$ gfortran -c test.f90
Fatal Error: Can't open module file 'nonexistent.mod' for reading: No such file
or directory

It would be good if the "Fatal Error" message would include the file and line
number where this error occurs.
Comment 1 Andrew Pinski 2004-07-09 17:40:58 UTC
Confirmed.
Comment 2 Tobias Schlüter 2004-07-11 12:40:34 UTC
Patch here: http://gcc.gnu.org/ml/fortran/2004-07/msg00119.html
Comment 3 GCC Commits 2004-07-11 13:06:29 UTC
Subject: Bug 16455

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tobi@gcc.gnu.org	2004-07-11 13:06:26

Modified files:
	gcc/fortran    : ChangeLog 

Log message:
	PR fortran/16455
	Fix ChangeLog

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.118&r2=1.119

Comment 4 Tobias Schlüter 2004-07-11 13:07:05 UTC
Fixed.