llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Assertion `!isNull() && "Cannot retrieve a NULL type pointer"' failed at clang/AST/Type.h

Open BalaRishi-AMD opened this issue 8 years ago • 5 comments

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

BalaRishi-AMD avatar Nov 12 '18 15:11 BalaRishi-AMD

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

BalaRishi-AMD avatar Nov 12 '18 17:11 BalaRishi-AMD

This issue was introduced sometime in the last week of Oct 2018.

BalaRishi-AMD avatar Nov 12 '18 15:11 BalaRishi-AMD

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.

Endilll avatar Aug 05 '23 06:08 Endilll

@llvm/issue-subscribers-openmp

llvmbot avatar Aug 05 '23 06:08 llvmbot