Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7668 Discussions

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

David_W_3
Beginner
223 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
223 Views

 

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

Regards,

Viet Hoang

Reply