https://bugs.llvm.org/show_bug.cgi?id=50196
Bug ID: 50196
Summary: Segmentation fault parsing parameter pack expansion
Product: clang
Version: 10.0
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
I got segfault compiling this code:
#include <utility>
template <std::size_t ...Ts>
struct Ice<std::make_index_sequence<sizeof(Ts...)>>
{};
I'm using clang 10.0.1, but I also reproduced the issue with clang 12 and trunk
on godbolt https://godbolt.org/z/5eEsvWdxd
The issue persists if I omit parameter pack expansion on line 4:
#include <utility>
template <std::size_t ...Ts>
struct Ice<std::make_index_sequence<sizeof(Ts)>>
{};
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs