beautypg.com

Zilog Z8F0130 User Manual

Page 553

background image

UM013037-1212

Compiler Compatibility Issues

Zilog Developer Studio II – Z8 Encore!

User Manual

529

#pragma peephole

Enables peephole optimizations.

#pragma nopeephole

Disables peephole optimizations.

#pragma promote

Enables ANSI integer promotions.

#pragma nopromote

Disables ANSI integer promotions.

#pragma sdiopt

Performs span-dependent instruction optimization. This optimization results in branches
generated by the compiler taking the shortest form possible. This pragma is the default.

#pragma nosdiopt

Disables span-dependent instruction optimizations.

#pragma stkck

Performs stack checking.

#pragma nostkck

Does not perform stack checking.

#pragma strict

Checks for conformance to the ANSI standard and its obsolescent features. These include
old-style parameter type declarations, empty formal parameter lists, and calling functions
with no prototype in scope. When any of these features are used a warning is flagged. The
compiler requires this switch for proper code generation because it makes use of a static
frame.

#pragma nostrict

Does not flag warnings for obsolete features.