[llvm-bugs] [Bug 35075] Assertion failure in clang::ento::MemRegion::getAsOffset

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 30 04:25:42 PST 2018


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

Alexander Kornienko <alexfh at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #7 from Alexander Kornienko <alexfh at google.com> ---
Long time no see ;) Here's another crash:

namespace std {
template <typename>
class b;
class B {
 public:
  long c;
};
template <typename f, typename... d>
class b<f(d...)> : B {
 public:
  f operator()(d...) const;
};
template <typename f, typename... d>
f b<f(d...)>::operator()(d...) const {
  bool e = c;
}
struct j {
  int _M_once = 0;
};
template <typename g, typename... h>
void call_once(g &&, h &&...);
}  // namespace std
void i(std::b<bool()> &l) { l(); }
void k() {
  std::j a;
  call_once(a, i, k);
}

George, could you take a look?

-- 
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/20180130/4856a6cf/attachment.html>


More information about the llvm-bugs mailing list