[all-commits] [llvm/llvm-project] beb437: [flang] Don't crash in error recovery situation
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Aug 8 11:14:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: beb437ed7e2b0eba1395a590115a6ade083f2f85
https://github.com/llvm/llvm-project/commit/beb437ed7e2b0eba1395a590115a6ade083f2f85
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-08-08 (Tue, 08 Aug 2023)
Changed paths:
M flang/include/flang/Evaluate/initial-image.h
M flang/lib/Evaluate/fold.cpp
M flang/lib/Evaluate/initial-image.cpp
M flang/test/Semantics/null01.f90
Log Message:
-----------
[flang] Don't crash in error recovery situation
When folding the TRANSFER() intrinsic function, there's a CHECK()
that the initial image was built without error. However, there is one
condition that elicits a warning -- a derived type SOURCE= with an
allocatable or dynamic component. Remove this CHECK().
Fixes llvm-test-suite/Fortran/gfortran/regression/transfer_null_1.f90.
Differential Revision: https://reviews.llvm.org/D157336
More information about the All-commits
mailing list