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}