[flang] fix spurious runtime crash on TRIM('')
The standard interoperability routine CFI_establish() does not accept a zero-length CHARACTER type. Since these can be valid results of intrinsic function references, work around the design of CFI_establish() in the wrapper routine that calls it. Differential Revision: https://reviews.llvm.org/D99296
Loading
Please sign in to comment