joanahalili added a comment.

In D143840#4147234 <https://reviews.llvm.org/D143840#4147234>, @joanahalili 
wrote:

> Heads up: We are experiencing a series of clang crashes because of this 
> commit.
>
> What we already have so far:
>
>   Unhandled DeclRefExpr
>   UNREACHABLE executed at clang/lib/CodeGen/CGExpr.cpp:2958!
>
> We are now working on a reproducer.

Here is our reproducer:

  struct a {
    enum { b };
  };
  struct c {
    void *d;
  };
  struct e {
    void f(void *);
  };
  template <typename g> struct h : g {
    h(short, int);
    virtual void i();
  };
  template <typename g> void h<g>::i() { e().f(c::d); }
  struct j : h<c> {
    j();
  };
  int k;
  j::j() : h(a::b, k) {}




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143840/new/

https://reviews.llvm.org/D143840

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to