|
|||||||||||
|
Technical Support On-Line Manuals Compiler User Guide |
Compiler User GuideCompiler data flow warnings
The compiler performs data flow analysis as part of its optimization process. This information can be used to identify potential problems in your code, for example, to issue warnings about the use of uninitialized variables. The data flow analysis can only warn about local variables that are held in processor registers, not global variables held in memory or variables or structures that are placed on the stack. Be aware that:
The results of this analysis vary with the level of optimization
used. This means that higher optimization levels might produce a
number of warnings that do not appear at lower levels. For example,
the following source code results in the compiler generating the
warning
int f(void)
{
int i;
return i++;
}
The data flow analysis cannot reliably identify faulty code
and any
| ||||||||||
|
|||||||||||