[Bug fortran/14038] New: [gfortan] Mangled character in Hollerith
bdavis9659 at comcast dot net
gcc-bugzilla@gcc.gnu.org
Fri Feb 6 02:35:00 GMT 2004
This was found while comparing the output files created when running the NIST
conformance tests between g77 and gfortran.
Code to duplicate the problem:
100 FORMAT (1H ,10X,38HFOR OFFICIAL USE ONLY - COPYRIGHT 1978)
WRITE(6,100)
END
$/usr/local/bin/gfortran -static freg1.f
$ ./a.out
FOR OFFICIAL USE ONLY - COPYRIGH 1978)
What it should look like:
$ g77 freg1.f
$ ./a.out
FOR OFFICIAL USE ONLY - COPYRIGHT 1978
Notice the trailing ")".
The version of g95 is:
GNU Fortran 95 (GCC 3.5-tree-ssa 20040205 (merged 20040126))
--
Summary: [gfortan] Mangled character in Hollerith
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
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=14038
More information about the Gcc-bugs
mailing list