Skip to content

Commit

Permalink
[flang] Added missing _Complex for COMPLEX(10) C reduction API.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vzakhari committed Apr 18, 2023
1 parent 119a94b commit a2e1257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flang/runtime/complex-reduction.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit a2e1257

Please sign in to comment.