This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31519] New: spurious ICE messages when module does not compile
- From: "vivekrao4 at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Apr 2007 21:53:57 -0000
- Subject: [Bug fortran/31519] New: spurious ICE messages when module does not compile
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
For the program
module foo
intger :: i ! intger should be integer
end module foo
program xfoo
use foo, only: i
end program xfoo
gfortran -c -v gfbug.f90
gives
Using built-in specs.
Target: i386-pc-mingw32
Configured with: ../trunk/configure --prefix=/mingw
--enable-languages=c,fortran,c++,objc,obj-c++ --with-gmp=/home/coudert/local
--disable-nls --with-ld=/mingw/bin/ld --with-as=/mingw/bin/as --disable-werror
--enable-bootstrap --enable-threads --build=i386-pc-mingw32 --disable-shared
--enable-libgomp
Thread model: win32
gcc version 4.3.0 20070406 (experimental)
c:/programs/gfortran/bin/../libexec/gcc/i386-pc-mingw32/4.3.0/f951.exe
gfbug.f90 -quiet -dumpbase gfbug.f90 -mtune=i386 -auxbase gfbug -version
-fintrinsic-modules-path
c:/programs/gfortran/bin/../lib/gcc/i386-pc-mingw32/4.3.0/finclude -o
C:\DOCUME~1\vrao\LOCALS~1\Temp/ccASnAoX.s
GNU F95 version 4.3.0 20070406 (experimental) (i386-pc-mingw32)
compiled by GNU C version 4.3.0 20070406 (experimental).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
gfbug.f90:2:
intger :: i ! intger should be integer
1
Error: Unclassifiable statement at (1)
gfbug.f90:6.16:
use foo, only: i
1
Fatal Error: Can't open module file 'foo.mod' for reading at (1): No such file
or directory
gfortran: Internal error: Aborted (program f951)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Gfortran should "be quiet" after the "Fatal Error" message and not ask the user
to submit a bug report.
--
Summary: spurious ICE messages when module does not compile
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: vivekrao4 at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31519