]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Apply upstream clang fix for assertion failure compiling devel/capnproto
authorDimitry Andric <dim@FreeBSD.org>
Sat, 21 Aug 2021 14:26:51 +0000 (16:26 +0200)
committerDimitry Andric <dim@FreeBSD.org>
Sat, 21 Aug 2021 15:13:37 +0000 (17:13 +0200)
commitb65d87e5d7b58fd06cf4a3061b564d62f1033999
treea3d8c003b2e954c32a93111a01d31fbcfec95d05
parent0a7dbddfb0ca789acca9858c980e58ab8f1bc6de
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