[Bug 234987] clang 6.0.1 coredump on gtk-gnutella
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 16 20:38:55 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234987
--- Comment #2 from commit-hook at freebsd.org ---
A commit references this bug:
Author: dim
Date: Wed Jan 16 20:38:18 UTC 2019
New revision: 343102
URL: https://svnweb.freebsd.org/changeset/base/343102
Log:
Pull in r337861 from upstream llvm trunk (by Hideki Saito):
[LV] Fix for PR38110, LV encountered llvm_unreachable()
Summary: truncateToMinimalBitWidths() doesn't handle all Instructions
and the worst case is compiler crash via llvm_unreachable(). Fix is
to add a case to handle PHINode and changed the worst case to NO-OP
(from compiler crash).
Reviewers: sbaranga, mssimpso, hsaito
Reviewed By: hsaito
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D49461
This should fix "Unhandled instruction type!" (if assertions are
enabled) or segmentation faults (if assertions are disabled) when
compiling certain versions of the net-p2p/gtk-gnutella port.
Direct commit to stable/11 and stable/12, since head already has this
fix.
Reported by: Jamie Landeg-Jones <jamie at catflap.org>
PR: 234987
Changes:
stable/11/contrib/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
stable/12/contrib/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list