<div dir="ltr">Hi,<div>Trunk Clang as of this writing leaves an error, but this looks like</div><div>it should have been fixed by reverts, no?</div><div><br></div><div>$ clang++ -fopenmp -fopenmp-targets=nvptx64 t1.cpp<br>In file included from t1.cpp:1:<br>In file included from /gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/iostream:39:<br>In file included from /gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/ostream:38:<br>In file included from /gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/ios:42:<br>In file included from /gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/bits/ios_base.h:41:<br>In file included from /gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/bits/locale_classes.h:40:<br>In file included from /gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/string:52:<br>In file included from /gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/bits/basic_string.h:6159:<br>In file included from /gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/ext/string_conversions.h:41:<br>In file included from /gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/cstdlib:77:<br>/gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/bits/std_abs.h:70:3: error: declaration conflicts with target of using declaration already in scope<br>  abs(double __x)<br>  ^<br>/p/scratch/cpcp0/pcp0151/opt/clang/201911090240/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:50:25: note: target of using declaration<br>__DEVICE__ const double abs(const double);<br>                        ^<br>/gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/bits/std_abs.h:52:11: note: using declaration<br>  using ::abs;<br>          ^<br>/gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/bits/std_abs.h:74:3: error: declaration conflicts with target of using declaration already in scope<br>  abs(float __x)<br>  ^<br>/p/scratch/cpcp0/pcp0151/opt/clang/201911090240/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:51:24: note: target of using declaration<br>__DEVICE__ const float abs(const float);<br>                       ^<br>/gpfs/software/opt/gcc/7.2.0/lib/gcc/powerpc64le-unknown-linux-gnu/7.2.0/../../../../include/c++/7.2.0/bits/std_abs.h:52:11: note: using declaration<br>  using ::abs;<br>          ^<br>2 errors generated.<br></div></div>