GFortran on Fedora Core 6 (gcc-gfortran-4.1.1-51.fc6) can't compile module
files that contain real constants ("parameter" attribute).
Example: Module file "const.f90":
module const
real, parameter :: a=3.5
end module const
Compile command "gfortran -c const.f90" leads to ICE:
const.f90:0: internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
--
Summary: GFortran ICE if real constants in module
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: engel at itp1 dot uni-stuttgart dot de
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30764