public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20618] Variable format expressions not supported
       [not found] <bug-20618-9515@http.gcc.gnu.org/bugzilla/>
@ 2006-03-17 21:12 ` tkoenig at gcc dot gnu dot org
  2006-03-25 22:21 ` tkoenig at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2006-03-17 21:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tkoenig at gcc dot gnu dot org  2006-03-17 21:12 -------
Following the discussion on comp.lang.fortran on this subject,
I'm tempted to mark this WONTFIX.  This feature can cause
a lot of headaches to implement and is of questionable
semantics.

Any objections?


-- 


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


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

* [Bug fortran/20618] Variable format expressions not supported
       [not found] <bug-20618-9515@http.gcc.gnu.org/bugzilla/>
  2006-03-17 21:12 ` [Bug fortran/20618] Variable format expressions not supported tkoenig at gcc dot gnu dot org
@ 2006-03-25 22:21 ` tkoenig at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2006-03-25 22:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from tkoenig at gcc dot gnu dot org  2006-03-25 22:21 -------
As agreed on the mailing list, I'm closing this as WONTFIX.


-- 

tkoenig at gcc dot gnu dot org changed:

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


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


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

* [Bug fortran/20618] Variable format expressions not supported
  2005-03-24 12:38 [Bug fortran/20618] New: " Thomas dot Koenig at online dot de
  2005-03-24 14:29 ` [Bug fortran/20618] " Thomas dot Koenig at online dot de
@ 2005-03-24 15:13 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-24 15:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-24 15:12 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-24 15:12:59
               date|                            |


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


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

* [Bug fortran/20618] Variable format expressions not supported
  2005-03-24 12:38 [Bug fortran/20618] New: " Thomas dot Koenig at online dot de
@ 2005-03-24 14:29 ` Thomas dot Koenig at online dot de
  2005-03-24 15:13 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas dot Koenig at online dot de @ 2005-03-24 14:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Thomas dot Koenig at online dot de  2005-03-24 14:29 -------
Actually, implementing this would be a bit harder
than I thought.

It seems that the variable expression is evaluated
at runtime, so you can do things like

$ cat v-fmt2.f
      program main
      character*1 c
 10   continue
      read(fmt=9000,unit=*,end=20) j,c
      print *,c
      goto 10
 20   continue
 9000 format(i1,t<j>,a1)
      end
$ ifort -traceback v-fmt2.f
$ ./a.out
1abcd
 1
2abcd
 a
3abcd
 b

Still doable with non-advancing I/O and internal writes, but
tricky.

-- 


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


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

end of thread, other threads:[~2006-03-25 22:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-20618-9515@http.gcc.gnu.org/bugzilla/>
2006-03-17 21:12 ` [Bug fortran/20618] Variable format expressions not supported tkoenig at gcc dot gnu dot org
2006-03-25 22:21 ` tkoenig at gcc dot gnu dot org
2005-03-24 12:38 [Bug fortran/20618] New: " Thomas dot Koenig at online dot de
2005-03-24 14:29 ` [Bug fortran/20618] " Thomas dot Koenig at online dot de
2005-03-24 15:13 ` 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).