[Bug 257961] clang 11.0.1 crash while compiling devel/capnproto 0.9.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Aug 2021 15:15:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257961

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch stable/11 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=d5c7f929b50dbd5965c500ab42c93d0a2736ef99

commit d5c7f929b50dbd5965c500ab42c93d0a2736ef99
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2021-08-21 15:13:10 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-08-21 15:14:00 +0000

    Apply upstream clang fix for assertion failure compiling devel/capnproto

    Merge commit 48c70c1664aa from llvm git (by Richard Smith):

      Extend memset-to-zero optimization to C++11 aggregate functional casts
      Aggr{...}.

      We previously missed these cases due to not stepping over the additional
      AST nodes representing their syntactic form.

    Direct commit to stable/11, as both main and stable/13 already have this
    fix as part of clang 12.0.1.

    Reported by:    fernape
    PR:             257961

 contrib/llvm-project/clang/lib/CodeGen/CGExprAgg.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.