This is the mail archive of the gcc-bugs@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]

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


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.


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