public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/14906] New: [gfortran] Run-time error on empty format
@ 2004-04-10 14:49 bdavis9659 at comcast dot net
  2004-04-10 15:56 ` [Bug libfortran/14906] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bdavis9659 at comcast dot net @ 2004-04-10 14:49 UTC (permalink / raw)
  To: gcc-bugs

$ cat b.f
! from NIST test FM406.FOR
         CHARACTER*10 A10VK
         A10VK = 'XXXXXXXXXX'
         WRITE(A10VK,39110)
39110    FORMAT()
         PRINT*,A10VK
         END
$ gfortran b.f
$ ./a.out
At line 4 of file b.f
Fortran runtime error: Unexpected element in format
()
 ^
$ g77 b.f
$ ./a.out
            
$ gfortran --version
GNU Fortran 95 (GCC 3.5-tree-ssa 20040410 (merged 20040331))

-- 
           Summary: [gfortran] Run-time error on empty format
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bdavis9659 at comcast dot net
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug libfortran/14906] [gfortran] Run-time error on empty format
  2004-04-10 14:49 [Bug libfortran/14906] New: [gfortran] Run-time error on empty format bdavis9659 at comcast dot net
@ 2004-04-10 15:56 ` pinskia at gcc dot gnu dot org
  2004-04-12  5:12 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-10 15:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-10 15:33 -------
I am compiling a compiler right now to test this (it was compiling last night but I ran out of disk space, 
tree dumps take up too much space).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |tree-ssa


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


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

* [Bug libfortran/14906] [gfortran] Run-time error on empty format
  2004-04-10 14:49 [Bug libfortran/14906] New: [gfortran] Run-time error on empty format bdavis9659 at comcast dot net
  2004-04-10 15:56 ` [Bug libfortran/14906] " pinskia at gcc dot gnu dot org
@ 2004-04-12  5:12 ` pinskia at gcc dot gnu dot org
  2004-04-16  7:48 ` bdavis9659 at comcast dot net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-12  5:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-12 00:40 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-12 00:40:02
               date|                            |


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


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

* [Bug libfortran/14906] [gfortran] Run-time error on empty format
  2004-04-10 14:49 [Bug libfortran/14906] New: [gfortran] Run-time error on empty format bdavis9659 at comcast dot net
  2004-04-10 15:56 ` [Bug libfortran/14906] " pinskia at gcc dot gnu dot org
  2004-04-12  5:12 ` pinskia at gcc dot gnu dot org
@ 2004-04-16  7:48 ` bdavis9659 at comcast dot net
  2004-04-23  2:07 ` cvs-commit at gcc dot gnu dot org
  2004-04-23  2:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: bdavis9659 at comcast dot net @ 2004-04-16  7:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bdavis9659 at comcast dot net  2004-04-16 02:24 -------
proposed patch:
http://gcc.gnu.org/ml/fortran/2004-04/msg00108.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug libfortran/14906] [gfortran] Run-time error on empty format
  2004-04-10 14:49 [Bug libfortran/14906] New: [gfortran] Run-time error on empty format bdavis9659 at comcast dot net
                   ` (2 preceding siblings ...)
  2004-04-16  7:48 ` bdavis9659 at comcast dot net
@ 2004-04-23  2:07 ` cvs-commit at gcc dot gnu dot org
  2004-04-23  2:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-04-23  2:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-04-23 01:43 -------
Subject: Bug 14906

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	tree-ssa-20020619-branch
Changes by:	bdavis@gcc.gnu.org	2004-04-23 01:43:17

Modified files:
	gcc/testsuite  : ChangeLog.tree-ssa 
	libgfortran    : ChangeLog 
	libgfortran/io : format.c 
Added files:
	gcc/testsuite/gfortran.fortran-torture/execute: empty_format.f90 

Log message:
	PR fortran/14906
	* io/format.c (format_item): gracefully handle a ')'
	when it is the first character encountered in the string.
	
	PR fortran/14906
	* gfortran.fortran-torture/execute/empty_format.f90: Add new test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.fortran-torture/execute/empty_format.f90.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.225&r2=1.1.2.226
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.44&r2=1.1.2.45
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/format.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.3&r2=1.1.2.4



-- 


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


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

* [Bug libfortran/14906] [gfortran] Run-time error on empty format
  2004-04-10 14:49 [Bug libfortran/14906] New: [gfortran] Run-time error on empty format bdavis9659 at comcast dot net
                   ` (3 preceding siblings ...)
  2004-04-23  2:07 ` cvs-commit at gcc dot gnu dot org
@ 2004-04-23  2:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-23  2:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-23 02:09 -------
Fixed.

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


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


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

end of thread, other threads:[~2004-04-23  2:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-10 14:49 [Bug libfortran/14906] New: [gfortran] Run-time error on empty format bdavis9659 at comcast dot net
2004-04-10 15:56 ` [Bug libfortran/14906] " pinskia at gcc dot gnu dot org
2004-04-12  5:12 ` pinskia at gcc dot gnu dot org
2004-04-16  7:48 ` bdavis9659 at comcast dot net
2004-04-23  2:07 ` cvs-commit at gcc dot gnu dot org
2004-04-23  2:36 ` pinskia 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).