public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/36094] Runtime error show_locus not working correctly
  2008-05-01  3:05 [Bug libfortran/36094] New: Runtime error show_locus not working correctly jvdelisle at gcc dot gnu dot org
@ 2008-05-01  3:05 ` jvdelisle at gcc dot gnu dot org
  2008-05-01  4:40 ` jvdelisle at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-05-01  3:05 UTC (permalink / raw)
  To: gcc-bugs



-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jvdelisle at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-05-01 03:05:12
               date|                            |


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/36094]  New: Runtime error show_locus not working correctly
@ 2008-05-01  3:05 jvdelisle at gcc dot gnu dot org
  2008-05-01  3:05 ` [Bug libfortran/36094] " jvdelisle at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-05-01  3:05 UTC (permalink / raw)
  To: gcc-bugs

show_locus is failing to show the error locus because for some reason
filename_from_unit is returning a NULL string for this test case.

character(len=10) :: cc = 'bad'
open(99,file="dd",encoding=cc)
write(*,*) 'HELLO'
end


-- 
           Summary: Runtime error show_locus not working correctly
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jvdelisle at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/36094] Runtime error show_locus not working correctly
  2008-05-01  3:05 [Bug libfortran/36094] New: Runtime error show_locus not working correctly jvdelisle at gcc dot gnu dot org
  2008-05-01  3:05 ` [Bug libfortran/36094] " jvdelisle at gcc dot gnu dot org
@ 2008-05-01  4:40 ` jvdelisle at gcc dot gnu dot org
  2008-05-02  1:34 ` jvdelisle at gcc dot gnu dot org
  2008-05-02 16:51 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-05-01  4:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jvdelisle at gcc dot gnu dot org  2008-05-01 04:40 -------
The unit has not been opened yet when this error occurs so it does not exist in
the unit list yet.  In this case we should just show the unit number.


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/36094] Runtime error show_locus not working correctly
  2008-05-01  3:05 [Bug libfortran/36094] New: Runtime error show_locus not working correctly jvdelisle at gcc dot gnu dot org
  2008-05-01  3:05 ` [Bug libfortran/36094] " jvdelisle at gcc dot gnu dot org
  2008-05-01  4:40 ` jvdelisle at gcc dot gnu dot org
@ 2008-05-02  1:34 ` jvdelisle at gcc dot gnu dot org
  2008-05-02 16:51 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-05-02  1:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jvdelisle at gcc dot gnu dot org  2008-05-02 01:34 -------
Subject: Bug 36094

Author: jvdelisle
Date: Fri May  2 01:33:16 2008
New Revision: 134876

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=134876
Log:
2008-05-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libfortran/36094
        * runtime/error.c (show_locus): Provide modified error message when
        filename has not yet been associated with a unit number.
        * io/open.c (encoding_opt[]): Comment out "utf-8" option and add TODO.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/open.c
    trunk/libgfortran/runtime/error.c


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libfortran/36094] Runtime error show_locus not working correctly
  2008-05-01  3:05 [Bug libfortran/36094] New: Runtime error show_locus not working correctly jvdelisle at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-05-02  1:34 ` jvdelisle at gcc dot gnu dot org
@ 2008-05-02 16:51 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-05-02 16:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2008-05-02 16:50 -------
Fixed


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-05-02 16:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-01  3:05 [Bug libfortran/36094] New: Runtime error show_locus not working correctly jvdelisle at gcc dot gnu dot org
2008-05-01  3:05 ` [Bug libfortran/36094] " jvdelisle at gcc dot gnu dot org
2008-05-01  4:40 ` jvdelisle at gcc dot gnu dot org
2008-05-02  1:34 ` jvdelisle at gcc dot gnu dot org
2008-05-02 16:51 ` jvdelisle at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).