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

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

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

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Menlo}
span.s1 {font-variant-ligatures: no-common-ligatures}

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

 

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

Regards,

Viet Hoang

Leave a Comment

Please sign in to add a comment. Not a member? Join today