[Bug fortran/25615] New: Internal compiler error in compiling a module which have the same name procedure.

iguchi at coral dot t dot u-tokyo dot ac dot jp gcc-bugzilla@gcc.gnu.org
Sat Dec 31 16:05:00 GMT 2005


In cygwin platform, I got the following internal compiler error.

$ gfortran --version
GNU Fortran 95 (GCC) 4.2.0 20051126 (experimental)
Copyright (C) 2005 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

$ cat ice.f90
module m
  implicit none
contains

  subroutine p(i)
    integer :: i
  end subroutine

  subroutine p(i)
   integer :: i
  end subroutine
end module

$ gfortran -c ice.f90
ice.f90:5: internal compiler error: in build_function_decl, at
fortran/trans-dec
l.c:1113
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: Internal compiler error in compiling a module which have
                    the same name procedure.
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: iguchi at coral dot t dot u-tokyo dot ac dot jp


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




More information about the Gcc-bugs mailing list