In TRANSFER runtime the result was an array only if the MOLD was an array.
This is not in line with TRANSFER definition in 16.9.193 that rules that it
must also be an array if MOLD is scalar and SIZE if provided.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
flang/runtime/misc-intrinsic.cpp | ||
---|---|---|
16–17 | The "extern "C"" can be after the (now) static first function. | |
24–25 | I know this is safe, but future code readers might be misled by the (apparently) unprotected reference to the value of resultExtent here. Can you change the if() predicate to "if (resultExtent)"? |
flang/runtime/misc-intrinsic.cpp | ||
---|---|---|
24–25 | Fair point, I changed it. |
The "extern "C"" can be after the (now) static first function.