[llvm-bugs] [Bug 24531] segfault in clang::LocalInstantiationScope::getPartiallySubstitutedPack
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Aug 22 00:18:06 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24531
octoploid <octoploid at yandex.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #2 from octoploid <octoploid at yandex.com> ---
Reopening. Building with -fsanitize=undefined shows:
trippels at gcc2-power8 llvm_build % ./bin/clang++ -std=c++14 -c ~/assert.ii
/home/trippels/llvm/tools/clang/lib/Sema/SemaTemplateVariadic.cpp:609:77:
runtime error: member call on null pointer of type 'struct
LocalInstantiationScope'
/home/trippels/assert.ii:2:26: error: too few template arguments for class
template 'A'
template <typename... T> A<T...> models;
^
/home/trippels/assert.ii:3:29: note: in instantiation of variable template
specialization 'models' requested here
template <int> void fn1() { models<>; }
^
/home/trippels/assert.ii:1:28: note: template is declared here
template <typename> struct A;
~~~~~~~~~~~~~~~~~~~ ^
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/20150822/cc9ce236/attachment.html>
More information about the llvm-bugs
mailing list