[flang] Initial support of allocate statement with source
Support allocate statement with source in runtime version. The source expression is evaluated only once for each allocate statement. When the source expression has shape-spec, uses it for bounds. Otherwise, get the bounds from the source expression. Get the length if the source expression has deferred length parameter. Reviewed By: clementval, jeanPerier Differential Revision: https://reviews.llvm.org/D137812
parent
6f9ff1be
Please register or sign in to comment