Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

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 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)