Page 1 of 1

Internal compiler error

Posted: Wed Jul 12, 2017 9:40 am
by Krzemo
Hi!

When I try to compile my application I get an error:

xcc1: internal compiler error
Failed in ..\FrontEnd\PreCompAnalysis\apply_analysis.cpp, line 795
xf->getSpecializations().size() > (size_t) call->getSpecializationId()

what may be the reason of that kind of error

Re: Internal compiler error

Posted: Thu Jul 13, 2017 9:32 am
by robertxmos
Hi Krzemo,

It's difficult to be sure without more information.
But it looks like you are running whole file analysis as a means to aid optimisation and the analysis data is out of sync with the code.
I would suggest running 'xmake clean' to see if that cleans up the bad artefacts.

robert