[Bug fortran/11840] New: gfortran ICE with -fimplicit-none

olchansk at panix dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 7 01:02:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: gfortran ICE with -fimplicit-none
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: olchansk at panix dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

With -fimplicit-none, this simple module produces an ICE, instead of an
"variable not defined" error message:
[olchansk@dork user]$ more test_namelist.f90
module test_namelist
  integer foo
  !integer bar
  namelist /nlBar/ foo, bar
end module test_namelist
[olchansk@dork user]$
/triumfcs/trshare/olchansk/gcc-tree-ssa/install-20030806/bin/gfortran -c
test_namelist.f90 -fimplicit-none
test_namelist.f90:0: internal compiler error: in gfc_typenode_for_spec, at
fortran/trans-types.c:307
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

K.O.



More information about the Gcc-bugs mailing list