This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

what is correct output?


   Is there a standard format for the output from the following code?

      PROGRAM HELLO
      INTEGER FVIOLS
      FVIOLS=0
      PRINT *,'FVIOLS =',FVIOLS
      END

I see xlf generates code that prints...

 FVIOLS = 0

as does the current g95, however gfortran, g77 and the sgi f77 compiler
all produce...

 FVIOLS =           0

as output. Thanks in advance for any clarifications.
             Jack


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