Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

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

$
0
0

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}


Viewing all articles
Browse latest Browse all 1175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>