[all-commits] [llvm/llvm-project] 262b3f: [flang] Remove runtime dependence on C++ support f...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Fri Apr 4 08:43:00 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 262b3f7615b9a4dd660eb39afade73c24777e66a
https://github.com/llvm/llvm-project/commit/262b3f7615b9a4dd660eb39afade73c24777e66a
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2025-04-04 (Fri, 04 Apr 2025)
Changed paths:
M flang-rt/lib/runtime/descriptor.cpp
M flang/include/flang/Common/Fortran-consts.h
M flang/include/flang/Common/real.h
A flang/include/flang/Common/type-kinds.h
M flang/include/flang/Evaluate/target.h
M flang/include/flang/Evaluate/type.h
M flang/lib/Evaluate/target.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Evaluate/type.cpp
M flang/lib/Lower/ConvertType.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/type.cpp
Log Message:
-----------
[flang] Remove runtime dependence on C++ support for types (#134164)
Fortran::runtime::Descriptor::BytesFor() only works for Fortran
intrinsic types for which a C++ type counterpart exists, so it crashes
on some types that are legitimate Fortran types like REAL(2). Move some
logic from Evaluate into a new header in flang/Common, then use it to
avoid this needless dependence on C++.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list