i960 Processor Compiler User's Guide
2-52
2
W (Warnings)
Enables / disables
specific warnings.
W[
string
]
W
With no arguments, this option prints extra
warning messages for certain events, including:
longjmp() warnings
Warn when a nonvolatile automatic variable
might be changed by a call to
longjmp().
These warnings are possible only in an
optimizing compilation.
The compiler sees only the calls to
setjmp(). It
cannot know where
longjmp() is called; in fact
a signal handler could call it at any point in the
code. As a result, you may get a warning even
when there is in fact no problem because
longjmp() cannot actually be called at the place
that would cause a problem.
return and return(
value
)
Warn when a function can return either with or
without a value. (Falling off the end of the
function body is considered returning with a
value.)
null effect
Warn when an expression-statement contains no
side effects.
no-op comparison
Warn when an unsigned value is compared
against zero with
< or <=.