[llvm-bugs] [Bug 48848] New: recoverFromMSUnqualifiedLookup encounters assertion failure on erroneous program instead of reporting an error
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jan 22 07:02:18 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=48848
Bug ID: 48848
Summary: recoverFromMSUnqualifiedLookup encounters assertion
failure on erroneous program instead of reporting an
error
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: melanie.blower at intel.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
Created attachment 24409
--> https://bugs.llvm.org/attachment.cgi?id=24409&action=edit
traceback from crash site
Windows compilation of this test case in microsoft compatibility mode
encounters an assertion failure. Attaching traceback.
template <typename reduction_access_t, typename exec_price_access_t>
void TerminalDecision(const reduction_access_t &spot_price,
exec_price_access_t &execution_price) {
[=](auto i) { execution_price[i] = spot_price[i + j]; };
}
template <typename execution_model_t> void LongstaffShwartz() {
int *execution_price_accessor;
TerminalDecision(5, execution_price_accessor);
}
void runChapter4()
{
LongstaffShwartz<int>();
}
clang -cc1 -fms-compatibility -fdelayed-template-parsing ~/ls_rep_best.cpp
--
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/20210122/3efe7eb9/attachment-0001.html>
More information about the llvm-bugs
mailing list