Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Array PARAMETERs

John4
Valued Contributor I
594 Views
Hi,

When I try to compile the code below with the -stand switch, I get a warning stating that the array expressions do not conform. Am I doing something wrong? Thanks.

[cpp]module mod1
    !ifort -c -stand mod1.f90
    integer, parameter :: IDENTITY(2, 2) = RESHAPE([1, 0, 0, 1], [2, 2])
    integer, parameter :: DKR(2, 2) = IDENTITY
end module mod1[/cpp]

0 Kudos
1 Solution
Steven_L_Intel1
Employee
594 Views
It's a compiler bug - I can see that it's already fixed in our internal sources. I'm not sure when the fix will appear.

View solution in original post

0 Kudos
1 Reply
Steven_L_Intel1
Employee
595 Views
It's a compiler bug - I can see that it's already fixed in our internal sources. I'm not sure when the fix will appear.
0 Kudos
Reply