This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20006] New: $ format extension accepted in error under -std=f95
- From: "tow21 at cam dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2005 12:01:32 -0000
- Subject: [Bug fortran/20006] New: $ format extension accepted in error under -std=f95
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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