https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27436

--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Currently.

! From PR27436
   write(*,'(abc)') n ! We throw a compile time error here.
   write(10,"(i7,(' abcd'))") n, n ! We throw a run time error here.
10 print *, "Hello World!"
   end

Comment the first statement is gives:

At line 3 of file test2.f90 (unit = 10, file = 'fort.10')
Fortran runtime error: Insufficient data descriptors in format after reversion

If I find any easy tweak to give a compile time warning on that second write
example I may do so.  If not, I would prefer we close this one.

Reply via email to