Internal compiler error

Compilation with the following command

pgc++ -c -DUSE_DP=1 -std=c++11 -g -O3 -DTARGET_HOST=1 -DNOGPU=0 -mp -Munroll -Minfo=all -Mneginfo=all -acc -ta=multicore -tp=sandybridge-64 -shared -fPIC -o host_gpu.o host3.cpp

results in the following internal compiler error

6, include “dual.h”
946, Generating Multicore code
950, #pragma acc loop gang
952, Loop is parallelizable
Loop not vectorized/parallelized: contains call
964, Loop not vectorized: data dependency
Loop unrolled 4 times
PGCC-F-0000-Internal compiler error. mark_ilitree: visit != val 0 (host3.cpp: 1092)
PGCC/x86 Linux 16.10-0: compilation aborted
make: *** [host_gpu.o] Error 2

I am sorry, but I cannot post the source file.

– Ondrej

Hi Ondrej,

Unfortunately this is a generic compiler issue with no one root cause. I see a few other reports with the same generic ICE with most being resolved, but can’t tell if your issue is related. Can you send a reproducing example to PGI Customer Service ( so we determine what’s going wrong?

Alternatively, you can try downloading a more recent compiler, such as 17.4, to see if it has been fixed already.