U:\vrao\fortran>type gfort_bug_returns.f90 module amod character (len=1), parameter :: aa = "z", bb(1) = (/aa/) end module amod
U:\vrao\fortran>gfortran -v Using built-in specs. Target: i386-pc-mingw32 Configured with: ../trunk/configure --prefix=/mingw --enable-languages=c,fortran --with-gmp=/home/coudert/local --disable-nls --with-ld=/mingw/bin/ld --with-as=/mingw/bin/as --disable-werror --enable-bootstrap --enable-threads --host=i386-pc-mingw32 --disable-shared --enable-libgomp Thread model: win32 gcc version 4.3.0 20061021 (experimental) U:\vrao\fortran>gfortran -c gfort_bug_returns.f90 In file gfort_bug_returns.f90:3 end module amod 1 Internal Error at (1): gfc_resolve_expr(): Bad expression type -- Summary: internal error in gfc_resolve_expr() for character parameter Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vivekrao4 at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30319