We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77682f7 commit 83e3cf6Copy full SHA for 83e3cf6
flang/lib/Evaluate/intrinsics-library.cpp
@@ -15,6 +15,7 @@
15
#include "fold-implementation.h"
16
#include "host.h"
17
#include "flang/Common/erfc-scaled.h"
18
+#include "flang/Common/idioms.h"
19
#include "flang/Common/static-multimap-view.h"
20
#include "flang/Evaluate/expression.h"
21
#include <cfloat>
@@ -307,7 +308,7 @@ static std::complex<HostT> CSqrt(const std::complex<HostT> &x) {
307
308
res.real(reinterpret_cast<HostT(&)[2]>(r)[0]);
309
res.imag(reinterpret_cast<HostT(&)[2]>(r)[1]);
310
} else {
- assert("bad complex component type");
311
+ DIE("bad complex component type");
312
}
313
#else
314
res = std::sqrt(x);
0 commit comments