Openmp test Segmentation fault in in clang::CanonicalDeclPtr<clang::Decl>::operator clang::Decl const* (this=0x10f900543)
| Bugzilla Link | 45987 |
| Resolution | FIXED |
| Resolved on | May 21, 2020 08:11 |
| Version | trunk |
| OS | All |
| CC | @yxsamliu |
Extended Description
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
-
<eof> parser at end of file
...
This failed after change set:
2c31aa2de13a23a00ced87123b92e905f2929c7b fail Author: Yaxun (Sam) Liu [email protected] Date: Wed Apr 1 23:26:56 2020 -0400
Speed up deferred diagnostic emitter
fixed by 3ef11346f391e6e3da0cfa25f9f7dac22771438e
Thanks for reporting. I will fix it.
assigned to @yxsamliu