Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Intel C++ Compiler 18.0.0 - aligned_alloc with check-pointers compile error

David_W_3
Beginner
416 Views

The Intel C++ Compiler (18.0.0), and the C compiler for that matter, throws an internal compiler error when compiling an aligned_alloc call with -check-pointers.

MVCE:

#include <stdlib.h>


int main() {

double * ptr = (double*)aligned_alloc(32,64*sizeof(double));

};

 

When I compile

icpc -check-pointers=rw test.cxx

I get

": internal error: 010101_0

 

This code compiles fine without check-pointers

0 Kudos
1 Reply
Viet_H_Intel
Moderator
416 Views

 

Thanks for report this problem. I'll report it to our developer to fix it.

Regards,

Viet Hoang

0 Kudos
Reply