This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/25486] New: [4.2 Regression] fortan fixed-form literal character constant not padded.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]