pb-d-128-141-24-81:~/src/pr tobi$ cat t.f90 program array_char implicit none character (len=2) :: x, y character (len=2) :: z(2) x = "a " y = "cd" z = [y(1:len(trim(y))), x(1:1)] ! causes segfault end program array_char pb-d-128-141-24-81:~/src/pr tobi$ ../hggcc/build/gcc/f951 t.f90 MAIN__ t.f90:6: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. pb-d-128-141-24-81:~/src/pr tobi$
-- Summary: Segfault with ugly string array constructor Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tobi at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33727