This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/32456] IO error message should show Unit/Filename



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2007-06-24 22:56 -------
Subject: Bug 32456

Author: jvdelisle
Date: Sun Jun 24 22:56:21 2007
New Revision: 125989

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125989
Log:
2007-06-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/32456
        * runtime/error.c (show_locus): Update to emit the unit number
        and file name involved with the error.  Use new function
        filename_from_unit.
        * libgfortran.h (filename_from_unit): Declare new function.
        * io/unit.c (init_units): Set the unit file name for stdin, stdout,
        and stderr for use later in error reporting.
        (filename_from_unit): Add this new function.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/unit.c
    trunk/libgfortran/libgfortran.h
    trunk/libgfortran/runtime/error.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]