[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:36 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257961

--- Comment #4 from commit-hook_at_FreeBSD.org ---
A commit in branch stable/12 references this bug:

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

commit b65d87e5d7b58fd06cf4a3061b564d62f1033999
Author:     Dimitry Andric <dim_at_FreeBSD.org>
AuthorDate: 2021-08-21 14:26:51 +0000
Commit:     Dimitry Andric <dim_at_FreeBSD.org>
CommitDate: 2021-08-21 15:13:37 +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/12, 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.
Received on Sat Aug 21 2021 - 15:15:36 UTC

Original text of this message