Hardware 版 (精华区)
发信人: edmcgy (达达尼), 信区: Hardware
标 题: DSP(Data Signal Processor)的应用(14)
发信站: 紫 丁 香 (Thu Apr 23 15:33:32 1998), 转信
Workaround/Solution
WORKAROUND/SOLUTION
===================
Compile with optimization.
Title: Code Gen produces internal error on back-to-back assigns with ioports
Bug #
Tool
Version
Fixed?
SDSsq03246
Compiler
V6.60
Will fix in a future release
Bug Description
BUG DESCRIPTION
===============
The optimizer pass of the compiler may decide to allocate user local variables
to AR registers rather than locations on the stack frame. Similarly, it may
create temporary variables which reside in AR registers rather than memory.
If this circumstance combines with an assignment from a port location,
the compiler doesn't handle it. Instead it emits the internal error message:
COMPILER ERROR: something wrong in port_asg!!!
For example ...
when compiled "dspcl -v2xx -o " has this error.
v2xx -x2 -o3 -op0 -k -s -n file.c
--
※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: edmcgy.hit.edu.c]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.263毫秒