https://bugs.llvm.org/show_bug.cgi?id=51835
Bug ID: 51835
Summary: Implied shape only partially implemented
Product: flang
Version: 12.0
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Hello,
the following code compiles and works fine with GNU, Intel, NVIDIA, and NAG.
It is however not fully working with flang-12 or flang-13 that comes with
AMD ROCm:
integer, parameter :: list1(*) = [1,2] ! ok
character(1), parameter :: gnss1(*) = ["G","R","E","C"] ! ok
integer, parameter :: list2(42:*) = [1,2] ! fails
character(1), parameter :: gnss2(401:*) = ["G","R","E","C"] ! fails
print *, gnss2
end
It would be nice to have this available in a future LLVM release.
Thanks,
Harald
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs