public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tow21 at cam dot ac dot uk" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/20006] New: $ format extension accepted in error under -std=f95
Date: Wed, 16 Feb 2005 16:55:00 -0000	[thread overview]
Message-ID: <20050216120130.20006.tow21@cam.ac.uk> (raw)

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


             reply	other threads:[~2005-02-16 12:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-16 16:55 tow21 at cam dot ac dot uk [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050216120130.20006.tow21@cam.ac.uk \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).