[Bug fortran/27436] gfortran: Abort compiling if there are insufficient data descriptors in format after reversion

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 5 07:10:00 GMT 2006



------- Comment #1 from fxcoudert at gcc dot gnu dot org  2006-05-05 07:10 -------
(In reply to comment #0)
> Currently, gfortran only detects that the IO format descriptor contains
> insufficient data at run time. It would be great (though of low priority) if
> it would find them at compile time.

Indeed.

>    write(*,'(abc)') n

That one we could diagnose.

>    write(10,"(i7,(' abcd'))", err=10) n, n

This one, however, is not expected to give a warning since an err= specifier is
present. It's true we could optimize it away as a "goto 10", but I think that
is low priority :)


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-05 07:10:05
               date|                            |


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



More information about the Gcc-bugs mailing list