Showing results for 
Search instead for 
Did you mean: 

DTIO bug?

Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version Build 20170213

A code that includes the following works:

        PRINT 222,  B(1.1), B(2.2)
222        FORMAT(DT'Z##.##',DT'Z##.##')
!222        FORMAT(2DT'Z##.##')

B is a. function that returns a structure with one component

Running produces (you can guess what the formatting does):

01.10 02.20

If the commented FORMAT statement is used instead, it bombs

forrtl: severe (62): syntax error in format, unit -1, file CONOUT$

If a ! is placed after B(1.1), it again works.

I can supply the supporting routines, if necessary, but it appears that a repeat count on a DT edit descriptor does not work.

Comments, please.

0 Kudos
1 Reply

Yes, it appears to be a

Yes, it appears to be a defect with the repeat count on the DT edit descriptor. I was able to reproduce this with another program and submitted this to Development. Thank you for notifying us about this.

(Internal tracking id: CMPLRS-42615)

0 Kudos