------- Comment #1 from burnus at gcc dot gnu dot org 2007-08-30 08:41 ------- Please attach such long examples the next time. This makes the bug report easier to read and saves one from removing all the line breaks that get added.
I tried your example with NAG f95 and it reports: Error: line 278: Array constructor values have differing CHARACTER lengths (21 and 32) If I fix this error, it compiles with NAG f95 without errors. Independent of this fix, it creashes with gfortran; minimal test case: PROGRAM fptest IMPLICIT NONE CHARACTER (LEN=*), DIMENSION(1), PARAMETER :: var = 'a' CALL parsef (var) contains SUBROUTINE parsef (Var) IMPLICIT NONE CHARACTER (LEN=*), DIMENSION(:), INTENT(in) :: Var END SUBROUTINE parsef END PROGRAM fptest -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu dot | |org OtherBugsDependingO| |32834 nThis| | GCC build triplet|x86_64-unknown-linux-gnu | GCC host triplet|x86_64-unknown-linux-gnu | GCC target triplet|x86_64-unknown-linux-gnu | Keywords| |ice-on-valid-code Known to fail| |4.1.3 4.2.2 4.3.0 Summary|ICE when compilation |ICE with parameter string | |arrays http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33241