https://bugs.llvm.org/show_bug.cgi?id=36916
Bug ID: 36916
Summary: [possible regression] Supplying a builtin as a
template argument
Product: clang
Version: 6.0
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Created attachment 20133
--> https://bugs.llvm.org/attachment.cgi?id=20133&action=edit
testcase.cpp
The attached testcase worked up to and including clang5, but breaks in clang6:
testcase.cpp:18:15: error: no matching function for call to 'v4f_map'
v4f_t x = v4f_map<__builtin_sinf> (w);
^~~~~~~~~~~~~~~~~~~~~~~
x.cpp:6:7: note: candidate template ignored: invalid explicitly-specified
argument for template parameter 'fn'
v4f_t v4f_map (v4f_t x)
^
1 error generated.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs