<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:xw111luoye@gmail.com" title="Ye Luo <xw111luoye@gmail.com>"> <span class="fn">Ye Luo</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Offload reduction of std::complex gives wrong result when user defined reduction is missing"
href="https://bugs.llvm.org/show_bug.cgi?id=46146">bug 46146</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Offload reduction of std::complex gives wrong result when user defined reduction is missing"
href="https://bugs.llvm.org/show_bug.cgi?id=46146#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Offload reduction of std::complex gives wrong result when user defined reduction is missing"
href="https://bugs.llvm.org/show_bug.cgi?id=46146">bug 46146</a>
from <span class="vcard"><a class="email" href="mailto:xw111luoye@gmail.com" title="Ye Luo <xw111luoye@gmail.com>"> <span class="fn">Ye Luo</span></a>
</span></b>
<pre>PASS: clang++ -fopenmp -fopenmp-targets=nvptx64 complex_reduction.cpp &&
./a.out
PASS: clang++ -fopenmp -fopenmp-targets=nvptx64 -ffast-math
complex_reduction.cpp && ./a.out
PASS: clang++ -fopenmp -fopenmp-targets=nvptx64 -O3 complex_reduction.cpp &&
./a.out
FAIL: clang++ -fopenmp -fopenmp-targets=nvptx64 -ffast-math -O3
complex_reduction.cpp && ./a.out
applying __NO_UDR
PASS: clang++ -fopenmp -fopenmp-targets=nvptx64 -D__NO_UDR
complex_reduction.cpp && ./a.out
PASS: clang++ -fopenmp -fopenmp-targets=nvptx64 -D__NO_UDR -ffast-math
complex_reduction.cpp && ./a.out
PASS:clang++ -fopenmp -fopenmp-targets=nvptx64 -D__NO_UDR -O3
complex_reduction.cpp && ./a.out
PASS:clang++ -fopenmp -fopenmp-targets=nvptx64 -D__NO_UDR -ffast-math -O3
complex_reduction.cpp && ./a.out
There is still one case failing.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>