[all-commits] [llvm/llvm-project] d811c8: [flang] fix spurious runtime crash on TRIM('')
Peter Klausler via All-commits
all-commits at lists.llvm.org
Thu Mar 25 12:37:14 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d811c829af616fd0bec08c7bebbe946e9bc96eea
https://github.com/llvm/llvm-project/commit/d811c829af616fd0bec08c7bebbe946e9bc96eea
Author: peter klausler <pklausler at nvidia.com>
Date: 2021-03-25 (Thu, 25 Mar 2021)
Changed paths:
M flang/runtime/descriptor.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list