Internal compiler error

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
Krzemo
Junior Member
Posts: 4
Joined: Thu Jul 06, 2017 10:49 am

Internal compiler error

Post 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


robertxmos
XCore Addict
Posts: 169
Joined: Fri Oct 23, 2015 10:23 am

Post 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
Post Reply