Thanks, It works.
Regards
YH
-----Original Message----- From: ebiederman@lnxi.com [mailto:ebiederman@lnxi.com] Sent: Monday, August 30, 2004 9:45 PM To: YhLu Cc: ron minnich; linuxbios Subject: Re: ROMCC problem
YhLu YhLu@tyan.com writes:
Eric, the current romcc seems have problem to process "asm". Or bist cause the problem?
The optimizer took a look at the asm realized no one used the output of it. And optimized the instruction away. Correct but annoying.
Just mark the asm as volatile and the code will work fine.
Eric