Renesas Technology, Tools FAQs
Last Updated: July 22, 2003
Document Number: 03072210_e
Q.
When an optimize option is added, code is not generated for some lines. Is this all right?
A.
When an optimize option is specified, the compiler does not generate code which it assumes is syntactically meaningless.
If you want to suppress optimization, specify the volatile qualifier to disable optimization.
Example where code generation is optimized:
* Function that only reads port
extern int port;
func()
{
port;
}
Example where code generation is not optimized:
volatile extern int port;
func()
{
port;
}
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Comentários a estes Manuais