Renesas TM V.3.20A Dokumentacja Strona 513

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 762
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 512
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.
Przeglądanie stron 512
1 2 ... 508 509 510 511 512 513 514 515 516 517 518 ... 761 762

Komentarze do niniejszej Instrukcji

Brak uwag