Hardware 版 (精华区)
发信人: edmcgy (达达尼), 信区: Hardware
标 题: DSP(Data Signal Processor)的应用(6)
发信站: 紫 丁 香 (Thu Apr 23 15:26:05 1998), 转信
BUG DESCRIPTION
===============
When generating code to access memory operands of the form "ptr->mos", and
the evaluation of the operands is "isolated", the compiler may err in the
handling of the jump/label tracking. This can result in code with incorrect
control flow (jumping to the wrong place, endless loops, etc.). In this
context, "isolated" means the memory operand is not part of a larger
expression which requires further code to evaluate. Examples include:
struct s
{
int mos;
...
};
struct s *ptr;
volatile struct s *vptr;
...
ptr->mos <0; vptr->mos;
--
※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: edmcgy.hit.edu.c]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:3.268毫秒