[Bug 256721] www/chromium: 91.0.4472.114 crashes clang 12 during build

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 19 Jun 2021 20:26:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256721

--- Comment #1 from Jan Beich <jbeich@FreeBSD.org> ---
Comment on attachment 225940
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225940
command line args (for clang 12)

To reproduce:

$ fetch -o ng_line_breaker-1c2a9f.sh
'https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225940'
$ fetch https://people.freebsd.org/~jbeich/ng_line_breaker-1c2a9f.cpp.xz
$ fetch
https://people.freebsd.org/~jbeich/chrome-linux-4472-1622741475-1086de1fcd675b708e3ea02ae10a0fc9999c4956.profdata.xz
$ sed -i '' 's,../../chrome/build/pgo_profiles/,,g' ng_line_breaker-1c2a9f.sh
$ xz -d *.xz
$ sh ng_line_breaker-1c2a9f.sh
Assertion failed: ((Record->hasTrivialCopyConstructor() ||
Record->hasTrivialCopyAssignment() || Record->hasTrivialMoveConstructor() ||
Record->hasTrivialMoveAssignment() || Record->isUnion()) && "Trying to
aggregate-copy a type without a trivial copy/move " "constructor or assignment
operator"), function EmitAggregateCopy, file
/usr/src/contrib/llvm-project/clang/lib/CodeGen/CGExprAgg.cpp, line 2061.
[...]

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