This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25486] New: [4.2 Regression] fortan fixed-form literal character constant not padded.
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Dec 2005 20:18:30 -0000
- Subject: [Bug fortran/25486] New: [4.2 Regression] fortan fixed-form literal character constant not padded.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
There is a regression in 4.2 from 4.1 with fixed-form literal character
constants that are continued to a new line. Consider the following
fixed-form code:
program a
character(len=90) c
c A tab is between 9 and 0.
c = '1234567
&89 0'
print *, c
end
The output with 4.1 and trunk are
kargl[216] gfc41 -o z a.f
kargl[217] ./z
1234567 89 0
kargl[218] gfc4x -o z a.f
kargl[219] ./z
123456789 0
gfortran 4.1 agrees with the output from NAG's compiler and with g77.
--
Summary: [4.2 Regression] fortan fixed-form literal character
constant not padded.
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kargl at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25486