`Implied do` and array constructor: strange behavior of `flang` and related compilers

Update (20211221):

  1. NVIDIA engineers have received the bug report.

  2. A bug report for AOCC flang is posted at the AMD Community. In an email exchange on 28 Dec 2021, the technical support of AMD confirms that their developers will review this issue.

It is quite interesting to observe how the vendors handle bug reports. I have reported several bugs to Absoft Fortran in the past year. Their responses were impressively prompt. All reports got replies within two days, and most bugs were fixed within a week. NAG’s responses to bug reports are satisfactory although not as commendable as Absoft. They first send you an automated response claiming that your report is received, but even such an “automated” response takes one or two days to arrive. After receiving it, you can hope for a response from an engineer within a week. I have limited experience with Intel concerning bug reports, but a false positive of ifort -check shape that was reported to Intel in September 2021 have not been fixed despite several updates of the compiler.

2 Likes