[llvm-bugs] [Bug 42276] New: Regression(363295): Clang crashes when compiling angle

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 13 20:54:39 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42276

            Bug ID: 42276
           Summary: Regression(363295): Clang crashes when compiling angle
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++2a
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
                    llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

struct b {
  struct c {
    void operator++();
    bool operator!=(c);
    int operator*();
  };
  c begin();
  c end();
};
class State {
  void syncDirtyObjects();
  using l = void (State::*)();
  static constexpr l m[]{};
};
void State::syncDirtyObjects() {
  b n;
  for (size_t o : n)
    (this->*m[o])();
}


out/gn/bin/clang -cc1 -triple x86_64-pc-windows-msvc19.16.0 -fms-compatibility
-emit-llvm GLES1Renderer-ee14d5.reduced.cpp

-- 
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/20190614/bf131628/attachment.html>


More information about the llvm-bugs mailing list