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: unassignedclangb...@nondot.org
          Reporter: serpent7...@gmail.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to