[Flang] Static initialization failure when the constant-expr
is an array of derived type.
#123362
Labels
constant-expr
is an array of derived type.
#123362
Consider the following code:
Flang currently failed to compile the above code as
The code seems standard conforming. All ifort, gfortran and XLF compile the code successfully. If
X
is scalar instead of an array, Flang compiles it fine.The text was updated successfully, but these errors were encountered: