[all-commits] [llvm/llvm-project] 173e54: [flang] Align same_type_as result to other compilers
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Wed Mar 8 00:51:42 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 173e54c3677420e5774a120a4bc4208093bd5cc8
https://github.com/llvm/llvm-project/commit/173e54c3677420e5774a120a4bc4208093bd5cc8
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-03-08 (Wed, 08 Mar 2023)
Changed paths:
M flang/runtime/derived-api.cpp
M flang/unittests/Runtime/CMakeLists.txt
A flang/unittests/Runtime/Derived.cpp
Log Message:
-----------
[flang] Align same_type_as result to other compilers
Unallocated unlimited polymorphic entities do not have a dynamic type set
and do not have declared type. The standard notes that the result is
processor dependent when one of the arguments of same_type_as is in this
case. Align the result to other compiler (gfortran, nvfortran).
Reviewed By: jeanPerier, PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D145384
More information about the All-commits
mailing list