public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20006] New: $ format extension accepted in error under -std=f95
@ 2005-02-16 16:55 tow21 at cam dot ac dot uk
  2005-02-16 17:02 ` [Bug fortran/20006] " jv244 at cam dot ac dot uk
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: tow21 at cam dot ac dot uk @ 2005-02-16 16:55 UTC (permalink / raw)
  To: gcc-bugs

Using the $ character in a write format is a commonly-implemented extension to 
imply non-advancing output; it is, however, not part of any Fortran standard 
(f90 and later standards offer an alternative method to achieve the same aim). 
 
However, gfortran currently accepts it without complaint. 
 
parabrisas:~/test% cat testRead.f  
 
      program testRead 
      implicit none 
      print '(a,$)','hello world' 
      print * 
      end 
parabrisas:~/test% gfortran -std=f95 testRead.f  
parabrisas:~/test%

-- 
           Summary: $ format extension accepted in error under -std=f95
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tow21 at cam dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-08-12  6:01 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-16 16:55 [Bug fortran/20006] New: $ format extension accepted in error under -std=f95 tow21 at cam dot ac dot uk
2005-02-16 17:02 ` [Bug fortran/20006] " jv244 at cam dot ac dot uk
2005-02-16 19:45 ` tow21 at cam dot ac dot uk
2005-02-22 16:58 ` coudert at clipper dot ens dot fr
2005-04-12 13:04 ` [Bug fortran/20006] $ format extension doesn't work fxcoudert at gcc dot gnu dot org
2005-04-12 13:18 ` tow21 at cam dot ac dot uk
2005-04-12 14:32 ` fxcoudert at gcc dot gnu dot org
2005-04-12 14:46 ` tow21 at cam dot ac dot uk
2005-05-22 21:32 ` [Bug libfortran/20006] " fxcoudert at gcc dot gnu dot org
2005-05-29 12:23 ` cvs-commit at gcc dot gnu dot org
2005-05-29 12:40 ` cvs-commit at gcc dot gnu dot org
2005-08-03 18:55 ` fxcoudert at gcc dot gnu dot org
2005-08-11 13:50 ` cvs-commit at gcc dot gnu dot org
2005-08-11 13:52 ` fxcoudert at gcc dot gnu dot org
2005-08-11 13:53 ` cvs-commit at gcc dot gnu dot org
2005-08-12  6:01 ` cvs-commit 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).