[llvm-bugs] [Bug 36916] New: [possible regression] Supplying a builtin as a template argument
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 27 00:29:20 PDT 2018
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: unassignedclangbugs at nondot.org
Reporter: yuri at tsoft.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180327/32e91db6/attachment-0001.html>
More information about the llvm-bugs
mailing list