[llvm-bugs] [Bug 45987] New: Openmp test Segmentation fault in in clang::CanonicalDeclPtr<clang::Decl>::operator clang::Decl const* (this=0x10f900543)
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon May 18 15:51:58 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45987
Bug ID: 45987
Summary: Openmp test Segmentation fault in in
clang::CanonicalDeclPtr<clang::Decl>::operator
clang::Decl const* (this=0x10f900543)
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: OpenMP
Assignee: unassignedclangbugs at nondot.org
Reporter: jennifer.yu at intel.com
CC: llvm-bugs at lists.llvm.org
class B {
public:
void barB(int *isHost) {
#pragma omp target map(tofrom: isHost)
{
*isHost = omp_is_initial_device();
}
}
};
class A : public B {
public:
void barA(int *isHost) {
#pragma omp target map(tofrom: isHost)
{
barB(isHost);
}
}
};
clang -cc1 -fopenmp j.cpp
PLEASE submit a bug report to
https://software.intel.com/en-us/support/priority-support and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: clang -cc1 -fopenmp j.cpp
1. <eof> parser at end of file
...
This failed after change set:
2c31aa2de13a23a00ced87123b92e905f2929c7b fail
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: Wed Apr 1 23:26:56 2020 -0400
Speed up deferred diagnostic emitter
--
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/20200518/231d405c/attachment.html>
More information about the llvm-bugs
mailing list