projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
119a94b
)
[flang] Added missing _Complex for COMPLEX(10) C reduction API.
author
Slava Zakharin
<szakharin@nvidia.com>
Sun, 16 Apr 2023 20:21:25 +0000
(13:21 -0700)
committer
Slava Zakharin
<szakharin@nvidia.com>
Tue, 18 Apr 2023 01:02:03 +0000
(18:02 -0700)
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
patch
|
blob
|
history
diff --git
a/flang/runtime/complex-reduction.h
b/flang/runtime/complex-reduction.h
index
8e57f7c
..
5c4f1f5
100644
(file)
--- 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 \