[Bug fortran/41152] Spurious diagnostic "Extraneous characters in format"

2009-08-24 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-08-24 11:24 --- (In reply to comment #0) > Due to committal: > > URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151021 For me r151028 seems to work, but r151039 shows the error. -- http://gcc.gnu.org/bugzilla/show_bug.cg

[Bug fortran/41152] Spurious diagnostic "Extraneous characters in format"

2009-08-24 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2009-08-24 11:19 --- Another test case: character(100), parameter :: subchapter='(79("-"),/,5("-")," ",A,/,79("-"),/)' write(*,subchapter) 'test' end Here the error message is: write(*,subchapter) 'test'

[Bug fortran/41152] Spurious diagnostic "Extraneous characters in format"

2009-08-24 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2009-08-24 09:02 --- Also the following fixed-format format looks OK to me: WRITE (6,'(//'' icorr is not correctly transferred. icorr='',i5) &') 42 END But it produces: WRITE (6,'(//'' icorr is not corr