From a2e1257589bccbd9ec65a5c9e4245e31058647d4 Mon Sep 17 00:00:00 2001 From: Slava Zakharin Date: Sun, 16 Apr 2023 13:21:25 -0700 Subject: [PATCH] [flang] Added missing _Complex for COMPLEX(10) C reduction API. I noticed _Complex was missing for the long double case. I might be missing something, but it looks like the compiler does not call the C wrappers directly. Do we need to keep the complex-reduction.[ch] at all? Differential Revision: https://reviews.llvm.org/D148479 --- flang/runtime/complex-reduction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flang/runtime/complex-reduction.h b/flang/runtime/complex-reduction.h index 8e57f7c..5c4f1f5 100644 --- a/flang/runtime/complex-reduction.h +++ b/flang/runtime/complex-reduction.h @@ -27,7 +27,7 @@ typedef _Lcomplex long_double_Complex_t; #else typedef float _Complex float_Complex_t; typedef double _Complex double_Complex_t; -typedef long double long_double_Complex_t; +typedef long double _Complex long_double_Complex_t; #endif #define REDUCTION_ARGS \ -- 2.7.4