This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19669] [gfortran] ICE (segfault) on legal (?) code
- From: "martin at mpa-garching dot mpg dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2005 14:41:41 -0000
- Subject: [Bug fortran/19669] [gfortran] ICE (segfault) on legal (?) code
- References: <20050128111353.19669.martin@mpa-garching.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From martin at mpa-garching dot mpg dot de 2005-01-28 14:41 -------
OK, I managed to reduce the testcase (phew!). Here it is:
module ModelData
implicit none
Type ClTransferData
integer :: NumSources
end Type ClTransferData
Type(ClTransferData) :: CTransScal
end module ModelData
module GaugeInterface
implicit none
contains
subroutine output(sources)
use ModelData
real sources(CTransScal%NumSources)
end subroutine output
end module GaugeInterface
module CAMBmain
use GaugeInterface
end module CAMBmain
~/tmp>rm *.mod ; gfortran -c bug.F90
bug.F90:16: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19669