Compiler/TMS320F28335: INTERNAL ERROR: Number of virtual registers beyond limit. Reduce function size

Part Number: TMS320F28335

Tool/software: TI C/C++ Compiler

hello 

I compiled my project with compiler TI v6.4.12 but failed.

The error message:

INTERNAL ERROR: Number of virtual registers beyond limit. Reduce function size.This may be a serious problem. Please contact customer support with adescription of this problem and a sample of the source files that caused this INTERNAL ERROR message to appear.

Someone posted the same error before,he solve this problem with version16.9.0, but it cost a lot of time (almost thirty minutes) to compile my project .I also made a lot of matrix calculation in my code and the error may be caused by that ,but I do not know how to solve the problem.

looking for reply.

thanks