[llvm-bugs] [Bug 40167] New: unrelated template instantiation causes a section type conflict building using GCC 5.4
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Dec 27 13:05:37 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=40167
Bug ID: 40167
Summary: unrelated template instantiation causes a section type
conflict building using GCC 5.4
Product: libraries
Version: trunk
Hardware: Other
OS: AIX
Status: NEW
Severity: normal
Priority: P
Component: Transformation Utilities
Assignee: unassignedbugs at nondot.org
Reporter: andrew at ishiboo.com
CC: llvm-bugs at lists.llvm.org
Building the 7.0.1 tarball using GCC 5.4.0 results in this strange error:
In file included from
/tmp/llvm-7.0-7.0.1-0/lib/Transforms/InstCombine/InstCombineCalls.cpp:45:0:
/tmp/llvm-7.0-7.0.1-0/include/llvm/IR/PatternMatch.h: In function 'bool
llvm::PatternMatch::cst_pred_ty<Predicate>::match(ITy*) [with ITy =
llvm::Constant; Predicate = llvm::PatternMatch::is_all_ones]':
/tmp/llvm-7.0-7.0.1-0/include/llvm/IR/PatternMatch.h:207:32: error: bool
llvm::PatternMatch::cst_pred_ty<Predicate>::match(ITy*) [with ITy =
llvm::Constant; Predicate = llvm::PatternMatch::is_all_ones] causes a section
type conflict with simplifyX86extrq(llvm::IntrinsicInst&, llvm::Value*,
llvm::ConstantInt*, llvm::ConstantInt*,
llvm::InstCombiner::BuilderTy&)::<lambda(uint64_t)>
template <typename ITy> bool match(ITy *V) {
^
/tmp/llvm-7.0-7.0.1-0/lib/Transforms/InstCombine/InstCombineCalls.cpp:778:47:
note: 'simplifyX86extrq(llvm::IntrinsicInst&, llvm::Value*, llvm::ConstantInt*,
llvm::ConstantInt*, llvm::InstCombiner::BuilderTy&)::<lambda(uint64_t)>' was
declared here
auto LowConstantHighUndef = [&](uint64_t Val) {
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181227/523686f5/attachment.html>
More information about the llvm-bugs
mailing list