[llvm-bugs] [Bug 40469] New: clang (Windows) crash with inherited constructors and non-trivial destructors

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 25 12:20:42 PST 2019


            Bug ID: 40469
           Summary: clang (Windows) crash with inherited constructors and
                    non-trivial destructors
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: Casey at Carter.net
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Created attachment 21386
  --> https://bugs.llvm.org/attachment.cgi?id=21386&action=edit

"clang repro.cpp" crashes compiling this correct TU (attached as repro.cpp):

  struct Iterator_base12 {
    ~Iterator_base12() noexcept {}

  struct mixin {
    mixin(Iterator_base12) {}
    ~mixin() noexcept {}

  struct basic_iterator : mixin {
    using mixin::mixin;

  void f(basic_iterator) {}

  int main() {

Which impacts range-v3 support for clang on Windows (this is

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/20190125/1a537252/attachment.html>

More information about the llvm-bugs mailing list