[Bug fortran/31258] segfault with transpose(reshape(char))

tkoenig at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun May 27 09:06:00 GMT 2007



------- Comment #4 from tkoenig at gcc dot gnu dot org  2007-05-27 09:06 -------
I forgot the source code for the cshift case:

$ cat cshift.f90
CHARACTER(LEN=3), DIMENSION(10) :: Z
CHARACTER(LEN=10) :: res
Z(:)="123"
write(*,'(10A1)') CSHIFT(Z(:)(2:2),2)
END
$ gfortran cshift.f90
cshift.f90: In function 'MAIN__':
cshift.f90:3: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31258



More information about the Gcc-bugs mailing list