Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 184.108.40.206 Build 20170213
A code that includes the following works:
PRINT 222, B(1.1), B(2.2)
B is a. function that returns a structure with one component
Running produces (you can guess what the formatting does):
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.
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)