[Bug libfortran/32784] [win32] Using 'con' as assigned file generates Fortran runtime error: File 'con' does not exist

pinskia at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Aug 12 23:08:00 GMT 2007



------- Comment #26 from pinskia at gmail dot com  2007-08-12 23:07 -------
Subject: Re:  [win32] Using 'con' as assigned file generates Fortran runtime
error: File 'con' does not exist

On 12 Aug 2007 22:45:07 -0000, steven dot chapel at sbcglobal dot net
<gcc-bugzilla@gcc.gnu.org> wrote:
> The code above works with gcc 3.4.5.

Which means it worked in g77 and not in gfortran (which is new for
4.0.0).  Now we have this weird thing about how gfortran is a new
front-end and g77 was removed.  So this could go either as a
regression or really a new feature.  Also why does this program use
con anyways, shouldn't it just use the default units which are
connected to stdio/stdout anyways as they might not be connected to
the console anyways?

Thanks,
Andrew Pinski


-- 


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



More information about the Gcc-bugs mailing list