Assertion `!isNull() && "Cannot retrieve a NULL type pointer"' failed at clang/AST/Type.h
| Bugzilla Link | 39636 |
| Version | trunk |
| OS | Linux |
| CC | @zygoloid |
Extended Description
Description: Assertion `!isNull() && "Cannot retrieve a NULL type pointer"' failed at clang/AST/Type.h.
To reproduce with the reduce testcase, download 'test-forall-reduced.cpp' and execute: clang-8 -cc1 -fopenmp test-forall-reduced.cpp
Tarred original testcase After untarring the attached file, test-forall-original.cpp.tar.xz, run the below command with original testcase: clang-8 -cc1 -fopenmp -fcxx-exceptions test-forall-original.cpp
This issue was introduced sometime in the last week of Oct 2018.
Can't reproduce using assertion builds of Clang 7 and 8: https://godbolt.org/z/TP9obvGYh I also tested locally unreduced test case with exactly the same compiler arguments as author suggested.
@llvm/issue-subscribers-openmp