When I compile the module listed below with gfortran 4.5 I get the message:
f951: internal compiler error: in gfc_set_constant_character_len, at fortran/decl.c:1112 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. gfortran 4.2, 4.3, and 4.4 produce similar messages. g95 produces the message: In file crash.f90:6 CHARACTER, PARAMETER :: the_beta = (/one_parameter('c')/) 1 Error: Can't convert TYPE(one_parameter) to CHARACTER(1) at (1) MODULE cdf_aux_mod PUBLIC TYPE :: one_parameter CHARACTER :: name END TYPE one_parameter CHARACTER, PARAMETER :: the_beta = (/one_parameter('c')/) END MODULE cdf_aux_mod -- Summary: ICE with illegal type conversion Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: michael dot a dot richmond at nasa dot gov http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40875